From 346c4ac77c4cfb4cfaec5b6e81986eabd38cebc9 Mon Sep 17 00:00:00 2001 From: Svrnty Date: Fri, 27 Feb 2026 19:43:43 -0500 Subject: [PATCH] feat: add build/test CI pipeline and dependabot - Add .NET CI pipeline (restore, build --warnaserror, test on JP branch) - Add Dependabot for nuget and github-actions ecosystems Co-Authored-By: Svrnty Inc. --- .github/dependabot.yml | 35 +++++++++++++++++++++++++++++++++++ .github/workflows/ci.yml | 12 ++++++------ 2 files changed, 41 insertions(+), 6 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..85eb09d --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,35 @@ +version: 2 + +updates: + - package-ecosystem: nuget + directory: "/" + schedule: + interval: weekly + target-branch: JP + open-pull-requests-limit: 3 + labels: + - "dependencies" + groups: + nuget-all: + patterns: + - "*" + update-types: + - minor + - patch + + - package-ecosystem: github-actions + directory: "/" + schedule: + interval: weekly + target-branch: JP + open-pull-requests-limit: 1 + labels: + - "ci" + - "dependencies" + groups: + actions-all: + patterns: + - "*" + update-types: + - minor + - patch diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 19b16ce..58021c3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,13 +15,13 @@ jobs: - uses: actions/setup-dotnet@v4 with: - dotnet-version: '10.0.x' + dotnet-version: "8.x" - - name: Restore dependencies - run: dotnet restore + - name: Restore + run: dotnet restore Svrnty.CQRS.sln - - name: Build (warnings as errors) - run: dotnet build --no-restore --warnaserror + - name: Build + run: dotnet build Svrnty.CQRS.sln --no-restore --warnaserror - name: Test - run: dotnet test --no-build --verbosity normal + run: dotnet test Svrnty.CQRS.sln --no-build --verbosity normal