diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index d91ffd9..f601f42 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -38,11 +38,11 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v3 + uses: github/codeql-action/init@v4 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -56,7 +56,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v3 + uses: github/codeql-action/autobuild@v4 # â„šī¸ Command-line programs to run using the OS shell. # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun @@ -69,4 +69,4 @@ jobs: # ./location_of_script_within_repo/buildscript.sh - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3 + uses: github/codeql-action/analyze@v4 diff --git a/.github/workflows/dotnet-cd.yml b/.github/workflows/dotnet-cd.yml index 8b26835..14ed902 100644 --- a/.github/workflows/dotnet-cd.yml +++ b/.github/workflows/dotnet-cd.yml @@ -15,9 +15,9 @@ jobs: DISCOS_API_KEY: ${{ secrets.DISCOS_API_KEY }} DISCOS_API_URL: https://discosweb.esoc.esa.int/api/ 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: 7.0.x - name: Test against real API @@ -28,14 +28,14 @@ jobs: name: Create a Package Release runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 # Need the full commit history for conventional commit + - uses: actions/checkout@v6 # Need the full commit history for conventional commit - name: Setup .NET - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v5 with: dotnet-version: 7.0.x - name: Bump version and push tag id: tag_version - uses: mathieudutour/github-tag-action@v6.1 + uses: mathieudutour/github-tag-action@v6.2 with: github_token: ${{ secrets.GITHUB_TOKEN }} - name: Create a GitHub release @@ -47,12 +47,12 @@ jobs: - name: Create Nuget Package run: dotnet build -c Release ./src/DiscosWebSdk/DiscosWebSdk/DiscosWebSdk.csproj && dotnet pack -c Release -p:PackageVersion=${{ steps.tag_version.outputs.new_version }} -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg -o . ./src/DiscosWebSdk/DiscosWebSdk/DiscosWebSdk.csproj - name: Upload Package for Publishing - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: PackedLib path: ./*.nupkg - name: Upload Symbols for Publishing - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: PackedSymbols path: ./*.snupkg @@ -63,15 +63,15 @@ jobs: runs-on: ubuntu-latest steps: - name: Download built project - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v7 with: name: PackedLib - name: Download packed Symbols - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v7 with: name: PackedSymbols - name: Setup .NET - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v5 with: dotnet-version: 7.0.x - name: Push Package to GitHub @@ -83,15 +83,15 @@ jobs: runs-on: ubuntu-latest steps: - name: Download built project - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v7 with: name: PackedLib - name: Download packed Symbols - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v7 with: name: PackedSymbols - name: Setup .NET - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v5 with: dotnet-version: 7.0.x - name: Push Package to Nuget diff --git a/.github/workflows/dotnet-ci.yml b/.github/workflows/dotnet-ci.yml index 948b273..58b3e3f 100644 --- a/.github/workflows/dotnet-ci.yml +++ b/.github/workflows/dotnet-ci.yml @@ -12,9 +12,9 @@ jobs: DISCOS_API_KEY: ${{ secrets.DISCOS_API_KEY }} DISCOS_API_URL: http://localhost:3000/api/ 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: 7.0.x - name: Build docker stack