diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d5cd704..458046b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,11 +34,11 @@ jobs: runs-on: ${{ matrix.config.os }} steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 0 - name: Setup .NET - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v5 with: dotnet-version: '8.0.x' - name: Build .NET project @@ -59,11 +59,11 @@ jobs: needs: build steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 0 - name: Download artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v5 with: name: ${{ matrix.runtime }} path: ${{ github.workspace }}/bin/artifacts @@ -82,11 +82,11 @@ jobs: needs: macos_codesign steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 0 - name: Download artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v5 with: path: ${{ github.workspace }}/bin/artifacts - name: Create release diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 14fecfb..9538f6a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,6 +15,7 @@ on: permissions: id-token: write # Require write permission to Fetch an OIDC token. contents: read + statuses: write jobs: lint: @@ -26,17 +27,17 @@ jobs: statuses: write steps: - name: Checkout Code - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 0 - name: Lint Code Base - uses: super-linter/super-linter@v7 + uses: super-linter/super-linter@v8 env: VALIDATE_ALL_CODEBASE: false DEFAULT_BRANCH: main DEFAULT_WORKSPACE: ./Notation.Plugin.AzureKeyVault GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - FILTER_REGEX_EXCLUDE: '.*Tests/.*|.*.yml|.*/scripts/generate-certs.sh|.*.py' + FILTER_REGEX_EXCLUDE: '.*Tests/.*|test/.*|.*.yml|.*/scripts/generate-certs.sh|.*.py' VALIDATE_CHECKOV: false VALIDATE_MARKDOWN: false VALIDATE_JSCPD: false @@ -49,11 +50,11 @@ jobs: contents: read steps: - name: Setup .NET - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v5 with: dotnet-version: '8.0.x' - name: Check out code into the project directory - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 0 - name: Run unit tests @@ -90,11 +91,11 @@ jobs: contents: read steps: - name: Setup .NET - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v5 with: dotnet-version: '8.0.x' - name: Check out code into the project directory - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 0 - name: Run unit tests @@ -117,11 +118,11 @@ jobs: contents: read steps: - name: Setup .NET - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v5 with: dotnet-version: '8.0.x' - name: Check out code into the project directory - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 0 - name: Run unit tests @@ -141,10 +142,10 @@ jobs: needs: test-linux steps: - name: Check out code into the project directory - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 0 - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v5 with: name: linux-amd64-binary path: ./bin/artifacts @@ -159,7 +160,7 @@ jobs: - name: Install OIDC Client from Core Package run: npm install @actions/core@1.6.0 @actions/http-client - name: Write Id Token - uses: actions/github-script@v7 + uses: actions/github-script@v8 id: idtoken with: script: | @@ -196,10 +197,10 @@ jobs: needs: [test-linux, test-linux-arm] steps: - name: Check out code into the project directory - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 0 - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v5 with: name: linux-${{ matrix.config.arch }}-binary path: ./bin/artifacts @@ -239,10 +240,10 @@ jobs: needs: test-windows steps: - name: Check out code into the project directory - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 0 - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v5 with: name: windows-amd64-binary path: ./bin/artifacts @@ -282,10 +283,10 @@ jobs: needs: test-linux steps: - name: Check out code into the project directory - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 0 - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v5 with: name: darwin-amd64-binary path: ./bin/artifacts diff --git a/Notation.Plugin.AzureKeyVault.Tests/Notation.Plugin.AzureKeyVault.Tests.csproj b/Notation.Plugin.AzureKeyVault.Tests/Notation.Plugin.AzureKeyVault.Tests.csproj index 73b7f7b..1cf9134 100644 --- a/Notation.Plugin.AzureKeyVault.Tests/Notation.Plugin.AzureKeyVault.Tests.csproj +++ b/Notation.Plugin.AzureKeyVault.Tests/Notation.Plugin.AzureKeyVault.Tests.csproj @@ -8,12 +8,12 @@ - + - + - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/Notation.Plugin.AzureKeyVault/Notation.Plugin.AzureKeyVault.csproj b/Notation.Plugin.AzureKeyVault/Notation.Plugin.AzureKeyVault.csproj index 824ca9a..745e65f 100644 --- a/Notation.Plugin.AzureKeyVault/Notation.Plugin.AzureKeyVault.csproj +++ b/Notation.Plugin.AzureKeyVault/Notation.Plugin.AzureKeyVault.csproj @@ -17,11 +17,11 @@ - - - - - + + + + +