diff --git a/.github/actions/download-artifact/action.yml b/.github/actions/download-artifact/action.yml index 7227ff20..f9d3ba4d 100644 --- a/.github/actions/download-artifact/action.yml +++ b/.github/actions/download-artifact/action.yml @@ -16,7 +16,7 @@ runs: using: composite steps: - name: Download artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: ${{ inputs.name }} path: ${{ inputs.path }} diff --git a/.github/actions/upload-artifact/action.yml b/.github/actions/upload-artifact/action.yml index b8aeff26..0a6bc695 100644 --- a/.github/actions/upload-artifact/action.yml +++ b/.github/actions/upload-artifact/action.yml @@ -35,7 +35,7 @@ runs: shell: bash - name: Upload artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: if-no-files-found: ${{ inputs.if-no-files-found }} name: ${{ inputs.name }} diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index a3a28785..f4d9108a 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -50,7 +50,7 @@ jobs: steps: # Setup - - uses: actions/setup-dotnet@v3 + - uses: actions/setup-dotnet@v4 with: dotnet-version: ${{ env.dotnet-version }} diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e1b45229..2df5152b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -40,12 +40,12 @@ jobs: fetch-tags: true - name: Install GitVersion ${{ env.GITVERSION }} - uses: gittools/actions/gitversion/setup@v0.10.2 + uses: gittools/actions/gitversion/setup@v0.11.0 with: versionSpec: ${{ env.GITVERSION }} - name: Determine version - uses: gittools/actions/gitversion/execute@v0.10.2 + uses: gittools/actions/gitversion/execute@v0.11.0 id: gitversion with: useConfigFile: true @@ -62,7 +62,7 @@ jobs: msbuild-version-args: ${{ env.msbuild-version-args }} steps: # Setup - - uses: actions/setup-dotnet@v3 + - uses: actions/setup-dotnet@v4 with: dotnet-version: ${{ env.dotnet-version }} @@ -75,7 +75,7 @@ jobs: # NuGet cache - name: Restore NuGet global package cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.nuget/packages key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.targets','**/*.props','**/*.csproj') }} # Can't use packages.lock.json yet, because Dependabot does not support it. @@ -109,7 +109,7 @@ jobs: runs-on: ${{ matrix.os }} steps: # Setup - - uses: actions/setup-dotnet@v3 + - uses: actions/setup-dotnet@v4 with: dotnet-version: ${{ env.dotnet-version }} @@ -134,7 +134,7 @@ jobs: runs-on: ubuntu-latest steps: # Setup - - uses: actions/setup-dotnet@v3 + - uses: actions/setup-dotnet@v4 with: dotnet-version: ${{ env.dotnet-version }} @@ -145,7 +145,7 @@ jobs: # NuGet cache (.NET Framework Reference assemblies are needed for pack) - name: Restore NuGet global package cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.nuget/packages key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.targets','**/*.props','**/*.csproj') }} # Can't use packages.lock.json yet, because Dependabot does not support it. @@ -162,7 +162,7 @@ jobs: # Pack - run: dotnet pack --no-restore --no-build -c Release ${{ needs.build.outputs.msbuild-version-args }} - name: Upload release artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: release-${{ needs.determine-version.outputs.package-version }} path: | @@ -181,7 +181,7 @@ jobs: steps: # Restore release artifacts - name: Download release artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: release-${{ needs.determine-version.outputs.package-version }} diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index 49bfdc08..8b917e62 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -35,17 +35,17 @@ jobs: needs: authorize runs-on: ubuntu-latest steps: - - uses: actions/setup-dotnet@v3 + - uses: actions/setup-dotnet@v4 with: dotnet-version: ${{ env.dotnet-version }} - run: dotnet --info - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 - - uses: actions/setup-java@v3 + - uses: actions/setup-java@v4 with: distribution: "temurin" java-version: "17"