From 9ae47be407f1ff9f1d8ac88aaa69580c714d8e71 Mon Sep 17 00:00:00 2001 From: Bart Koelman <104792814+bart-vmware@users.noreply.github.com> Date: Mon, 14 Sep 2026 11:55:32 +0200 Subject: [PATCH 1/2] Update actions in GitHub workflows to latest versions --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ee29845..2bbed64 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,17 +23,17 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Setup .NET - uses: actions/setup-dotnet@v5 + uses: actions/setup-dotnet@v6 with: dotnet-version: | 10.0.* - name: Git checkout Schema - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: path: Schema persist-credentials: false - name: Git checkout Steeltoe - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: repository: SteeltoeOSS/Steeltoe path: Steeltoe From 4672b5757baa4b38a7c0a54e605cc8e4022ef93f Mon Sep 17 00:00:00 2001 From: Bart Koelman <104792814+bart-vmware@users.noreply.github.com> Date: Mon, 14 Sep 2026 12:19:26 +0200 Subject: [PATCH 2/2] Sync up GHA workflow from Steeltoe --- .github/workflows/build.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2bbed64..72f9968 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,17 +1,21 @@ name: build-and-test on: - pull_request: + workflow_dispatch: push: branches: - main + pull_request: concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true +permissions: + contents: read + env: + DOTNET_CLI_TELEMETRY_OPTOUT: 1 DOTNET_NOLOGO: true - DOTNET_CLI_TELEMETRY_OPTOUT: true jobs: build-and-test: @@ -22,16 +26,19 @@ jobs: os: [ubuntu-latest, windows-latest, macos-latest] runs-on: ${{ matrix.os }} steps: + - name: Setup .NET uses: actions/setup-dotnet@v6 with: dotnet-version: | 10.0.* + - name: Git checkout Schema uses: actions/checkout@v7 with: path: Schema persist-credentials: false + - name: Git checkout Steeltoe uses: actions/checkout@v7 with: @@ -39,12 +46,15 @@ jobs: path: Steeltoe ref: main persist-credentials: false + - name: Restore packages run: | dotnet restore Schema + - name: Build solution run: | dotnet build Schema --no-restore --configuration Release + - name: Test run: | dotnet test Schema --no-build --configuration Release