From 91ae1e4568fc4efb4e4b727cf24c05e909e47a8d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 24 Mar 2026 04:36:27 +0000 Subject: [PATCH] Fix SDK version and add GitHub Actions CI workflow Co-authored-by: AnthonyDegroote <13833439+AnthonyDegroote@users.noreply.github.com> Agent-Logs-Url: https://github.com/AnthonyDegroote/SoftwareCraftLab/sessions/5eaafa2b-527d-45fe-8210-b189cd5d9147 --- .github/workflows/ci.yml | 30 ++++++++++++++++++++++++++++++ global.json | 2 +- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..d3fc810 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,30 @@ +name: CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build-and-test: + runs-on: ubuntu-latest + permissions: + contents: read + + steps: + - uses: actions/checkout@v4 + + - name: Setup .NET + uses: actions/setup-dotnet@v4 + with: + dotnet-version: '10.0.x' + + - name: Restore dependencies + run: dotnet restore + + - name: Build + run: dotnet build --no-restore + + - name: Test + run: dotnet test --no-build --verbosity normal diff --git a/global.json b/global.json index 8287d38..067010d 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "10.0.201", + "version": "10.0.102", "rollForward": "latestFeature" } }