From 6290ec168f238b7d36ced178d137c3390287048b Mon Sep 17 00:00:00 2001 From: linuxchata Date: Thu, 26 Mar 2026 18:09:53 +0100 Subject: [PATCH 1/2] Update versions of the actions --- .github/workflows/build.yml | 4 ++-- .github/workflows/build_deploy.yml | 8 ++++---- .github/workflows/build_push_nuget_auth_server.yml | 4 ++-- .github/workflows/build_push_nuget_sdk.yml | 4 ++-- .github/workflows/sonarcloud.yml | 8 ++++---- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c421d12..a030ae3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,9 +19,9 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Setup .NET - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v5 with: dotnet-version: 8.0.x diff --git a/.github/workflows/build_deploy.yml b/.github/workflows/build_deploy.yml index 09cf1f6..ae48c21 100644 --- a/.github/workflows/build_deploy.yml +++ b/.github/workflows/build_deploy.yml @@ -15,10 +15,10 @@ jobs: contents: read steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up .NET Core - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v5 with: dotnet-version: '8.x' @@ -51,7 +51,7 @@ jobs: name: .net-app - name: Login to Azure - uses: azure/login@a457da9ea143d694b1b9c7c869ebb04ebe844ef5 #v2.3.0 + uses: azure/login@532459e532459ea530d8321f2fb9bb10d1e0bcf23869a43 with: client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_25B6BF5098E742C0A6A21DC77D35A038 }} tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_7137EF529D2E4E50A1EFE68BD5652E76 }} @@ -59,7 +59,7 @@ jobs: - name: Deploy to Azure Web App id: deploy-to-webapp - uses: azure/webapps-deploy@122b7ec46017e53a3f71e3a027d67550a1641f5e #v2.2.17 + uses: azure/webapps-deploy@a8bbbc2169ef22cf0f6fd72f9d12e8ca89cdfd85 with: app-name: 'app-auth-dev-01' slot-name: 'Production' diff --git a/.github/workflows/build_push_nuget_auth_server.yml b/.github/workflows/build_push_nuget_auth_server.yml index fd93c67..ba89675 100644 --- a/.github/workflows/build_push_nuget_auth_server.yml +++ b/.github/workflows/build_push_nuget_auth_server.yml @@ -28,9 +28,9 @@ jobs: OAUTH_GITHUB_PAT: ${{ secrets.OAUTH_GITHUB_PAT }} NUGET_USER: ${{ secrets.NUGET_USER }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Setup .NET - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v5 with: dotnet-version: 8.0.x diff --git a/.github/workflows/build_push_nuget_sdk.yml b/.github/workflows/build_push_nuget_sdk.yml index ad652d8..03f6745 100644 --- a/.github/workflows/build_push_nuget_sdk.yml +++ b/.github/workflows/build_push_nuget_sdk.yml @@ -23,9 +23,9 @@ jobs: OAUTH_GITHUB_PAT: ${{ secrets.OAUTH_GITHUB_PAT }} NUGET_USER: ${{ secrets.NUGET_USER }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Setup .NET - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v5 with: dotnet-version: 8.0.x diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index 4f50fde..54a069f 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -19,22 +19,22 @@ jobs: runs-on: windows-latest steps: - name: Set up JDK 17 - uses: actions/setup-java@v4 + uses: actions/setup-java@v5 with: java-version: 17 distribution: 'zulu' # Alternative distribution options are available. - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - name: Cache SonarCloud packages - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ~\sonar\cache key: ${{ runner.os }}-sonar restore-keys: ${{ runner.os }}-sonar - name: Cache SonarCloud scanner id: cache-sonar-scanner - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: .\.sonar\scanner key: ${{ runner.os }}-sonar-scanner From 6f2a6229117e6130f9195a827fd494a39d62dfa6 Mon Sep 17 00:00:00 2001 From: linuxchata Date: Thu, 26 Mar 2026 18:26:33 +0100 Subject: [PATCH 2/2] Update deployment action --- .github/workflows/build_deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_deploy.yml b/.github/workflows/build_deploy.yml index ae48c21..4e7f8b4 100644 --- a/.github/workflows/build_deploy.yml +++ b/.github/workflows/build_deploy.yml @@ -51,7 +51,7 @@ jobs: name: .net-app - name: Login to Azure - uses: azure/login@532459e532459ea530d8321f2fb9bb10d1e0bcf23869a43 + uses: azure/login@532459ea530d8321f2fb9bb10d1e0bcf23869a43 # v3.0.0 with: client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_25B6BF5098E742C0A6A21DC77D35A038 }} tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_7137EF529D2E4E50A1EFE68BD5652E76 }} @@ -59,7 +59,7 @@ jobs: - name: Deploy to Azure Web App id: deploy-to-webapp - uses: azure/webapps-deploy@a8bbbc2169ef22cf0f6fd72f9d12e8ca89cdfd85 + uses: azure/webapps-deploy@45c7df8f6a4fe841b67ff88920b33f4f8328f8d9 # v3.0.8 with: app-name: 'app-auth-dev-01' slot-name: 'Production'