From 9b19d986b3a5c8905f82d2299be42c0ce3197775 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 20 Mar 2026 12:25:00 +0000 Subject: [PATCH 1/2] Add GitHub Actions CI workflow Builds and tests the solution on push/PR to master and dev branches using .NET 10 preview. --- .github/workflows/ci.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) 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..3ab1cc3 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,30 @@ +name: CI + +on: + push: + branches: [ master, dev ] + pull_request: + branches: [ master, dev ] + +jobs: + build-and-test: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup .NET + uses: actions/setup-dotnet@v4 + with: + dotnet-version: '10.0.x' + dotnet-quality: 'preview' + + - name: Restore dependencies + run: dotnet restore IRCSharp.sln + + - name: Build + run: dotnet build IRCSharp.sln --no-restore --configuration Release + + - name: Test + run: dotnet test IRCSharp.sln --no-build --configuration Release --verbosity normal From 97b9a41e92a1d33cfc3a9c6a3ab16ddbcd4ef284 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 20 Mar 2026 12:33:54 +0000 Subject: [PATCH 2/2] Remove dotnet-quality preview flag (.NET 10 is GA) --- .github/workflows/ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3ab1cc3..2edefba 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,6 @@ jobs: uses: actions/setup-dotnet@v4 with: dotnet-version: '10.0.x' - dotnet-quality: 'preview' - name: Restore dependencies run: dotnet restore IRCSharp.sln