diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index bc9a9f52..64c3c9fe 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -63,7 +63,7 @@ jobs: - run: cargo build --bin cpp-linter --release if: steps.cache.outputs.cache-hit != 'true' || steps.validate.outputs.cache-valid == 'false' - name: Upload build artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: ${{ matrix.name }} path: ${{ env.BIN }} @@ -90,7 +90,7 @@ jobs: yum update -y yum install -y openssl openssl-devel - name: Upload wheels - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: wheel path: dist/* @@ -112,10 +112,10 @@ jobs: persist-credentials: false - name: Download built binaries - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v6 - name: Install cargo-binstall - uses: cargo-bins/cargo-binstall@a66119fbb1c952daba62640c2609111fe0803621 # v1.15.7 + uses: cargo-bins/cargo-binstall@afcf9780305558bcc9e4bc94b7589ab2bb8b6106 # v1.15.9 env: GITHUB_TOKEN: ${{ github.token }} - name: Install hyperfine @@ -123,9 +123,9 @@ jobs: GITHUB_TOKEN: ${{ github.token }} run: cargo binstall -y hyperfine - name: Install nushell - uses: hustcer/setup-nu@985d59ec83ae3e3418f9d36471cda38b9d8b9879 # v3.20 + uses: hustcer/setup-nu@3a97c8160c2bb5af321a03336e7addc28f94444e # v3.21 - name: Install uv - uses: astral-sh/setup-uv@3259c6206f993105e3a61b142c2d97bf4b9ef83d # v7.1.0 + uses: astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7.1.2 - name: Run benchmark script working-directory: benchmark diff --git a/.github/workflows/binary-builds.yml b/.github/workflows/binary-builds.yml index 11199c43..58d3c777 100644 --- a/.github/workflows/binary-builds.yml +++ b/.github/workflows/binary-builds.yml @@ -114,7 +114,7 @@ jobs: - name: Install cargo-binstall if: matrix.cross - uses: cargo-bins/cargo-binstall@a66119fbb1c952daba62640c2609111fe0803621 # v1.15.7 + uses: cargo-bins/cargo-binstall@afcf9780305558bcc9e4bc94b7589ab2bb8b6106 # v1.15.9 env: GITHUB_TOKEN: ${{ github.token }} - name: Install cross (cargo cross compiler) @@ -153,7 +153,7 @@ jobs: tar -a -c -v -f "${arc_name}" ${tgt} LICENSE - name: Upload artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: cpp-linter-${{ matrix.target }} path: cpp-linter-${{ matrix.target }}* @@ -176,7 +176,7 @@ jobs: with: python-version: 3.x - name: Download built assets - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v6 with: pattern: cpp-linter-* path: dist @@ -190,7 +190,7 @@ jobs: gh release upload "$GIT_REF" $files - name: Establish provenance id: auth - uses: rust-lang/crates-io-auth-action@e919bc7605cde86df457cf5b93c5e103838bd879 # v1.0.1 + uses: rust-lang/crates-io-auth-action@041cce5b4b821e6b0ebc9c9c38b58cac4e34dcc2 # v1.0.2 - name: Publish package env: CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }} diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index 95170de7..feeedeea 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -57,9 +57,9 @@ jobs: path: ~/.cargo key: ${{ runner.os }}-docs-cargo-${{ hashFiles('Cargo.lock') }} - name: Install uv - uses: astral-sh/setup-uv@3259c6206f993105e3a61b142c2d97bf4b9ef83d # v7.1.0 + uses: astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7.1.2 - name: Install cargo-binstall - uses: cargo-bins/cargo-binstall@a66119fbb1c952daba62640c2609111fe0803621 # v1.15.7 + uses: cargo-bins/cargo-binstall@afcf9780305558bcc9e4bc94b7589ab2bb8b6106 # v1.15.9 env: GITHUB_TOKEN: ${{ github.token }} - name: Install nur @@ -88,9 +88,9 @@ jobs: path: ~/.cargo key: ${{ runner.os }}-docs-cargo-${{ hashFiles('Cargo.lock') }} - name: Install uv - uses: astral-sh/setup-uv@3259c6206f993105e3a61b142c2d97bf4b9ef83d # v7.1.0 + uses: astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7.1.2 - name: Install cargo-binstall - uses: cargo-bins/cargo-binstall@a66119fbb1c952daba62640c2609111fe0803621 # v1.15.7 + uses: cargo-bins/cargo-binstall@afcf9780305558bcc9e4bc94b7589ab2bb8b6106 # v1.15.9 env: GITHUB_TOKEN: ${{ github.token }} - name: Install nur @@ -99,7 +99,7 @@ jobs: GITHUB_TOKEN: ${{ github.token }} - run: nur docs rs - name: upload rustdoc build as artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: path: target/doc name: cpp-linter-api_docs diff --git a/.github/workflows/bump-n-release.yml b/.github/workflows/bump-n-release.yml index 574840cb..cde97806 100644 --- a/.github/workflows/bump-n-release.yml +++ b/.github/workflows/bump-n-release.yml @@ -45,7 +45,7 @@ jobs: with: node-version: 24.x - run: yarn install - - uses: cargo-bins/cargo-binstall@a66119fbb1c952daba62640c2609111fe0803621 # v1.15.7 + - uses: cargo-bins/cargo-binstall@afcf9780305558bcc9e4bc94b7589ab2bb8b6106 # v1.15.9 - run: cargo binstall -y git-cliff env: GITHUB_TOKEN: ${{ github.token }} diff --git a/.github/workflows/node-js-packaging.yml b/.github/workflows/node-js-packaging.yml index 779f0b8e..908d9f78 100644 --- a/.github/workflows/node-js-packaging.yml +++ b/.github/workflows/node-js-packaging.yml @@ -106,7 +106,7 @@ jobs: use-cache: true # zizmor: ignore[cache-poisoning] - name: Install cargo-binstall if: contains(matrix.settings.build, ' -x ') || contains(matrix.settings.build, '--use-cross ') - uses: cargo-bins/cargo-binstall@a66119fbb1c952daba62640c2609111fe0803621 # v1.15.7 + uses: cargo-bins/cargo-binstall@afcf9780305558bcc9e4bc94b7589ab2bb8b6106 # v1.15.9 env: GITHUB_TOKEN: ${{ github.token }} - name: Install ${{contains(matrix.settings.build, ' -x ') && 'cargo-zigbuild' || 'cargo-cross'}} @@ -125,7 +125,7 @@ jobs: run: ${{ matrix.settings.build }} shell: bash - name: Upload artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: bindings-${{ matrix.settings.target }} path: | @@ -175,7 +175,7 @@ jobs: rm -rf target rm -rf .yarn/cache - name: Upload artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: bindings-freebsd path: bindings/node/${{ env.APP_NAME }}.*.node @@ -217,7 +217,7 @@ jobs: - name: Install dependencies run: yarn install - name: Download artifacts - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v6 with: name: bindings-${{ matrix.settings.target }} path: bindings/node @@ -277,7 +277,7 @@ jobs: yarn config set --json supportedArchitectures.libc '["current", "musl", "gnu"]' yarn install - name: Download artifacts - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v6 with: name: bindings-${{ matrix.target }} path: bindings/node @@ -329,7 +329,7 @@ jobs: working-directory: bindings/node run: yarn napi create-npm-dirs - name: Download all artifacts - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v6 with: path: bindings/node/artifacts - name: Move artifacts diff --git a/.github/workflows/python-packaging.yml b/.github/workflows/python-packaging.yml index 90e1f730..fcb5c685 100644 --- a/.github/workflows/python-packaging.yml +++ b/.github/workflows/python-packaging.yml @@ -99,7 +99,7 @@ jobs: ;; esac - name: Upload wheels - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: wheels-linux-${{ matrix.platform.target }} path: dist/* @@ -128,7 +128,7 @@ jobs: args: --release --out dist --find-interpreter sccache: ${{ !startsWith(github.ref, 'refs/tags/') }} # zizmor: ignore[cache-poisoning] - name: Upload wheels - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: wheels-windows-${{ matrix.platform.target }} path: dist/* @@ -157,7 +157,7 @@ jobs: args: --release --out dist --find-interpreter --features openssl-vendored sccache: ${{ !startsWith(github.ref, 'refs/tags/') }} # zizmor: ignore[cache-poisoning] - name: Upload wheels - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: wheels-macos-${{ matrix.platform.target }} path: dist/* @@ -177,7 +177,7 @@ jobs: command: sdist args: --out dist - name: Upload sdist - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: wheels-sdist path: dist/* @@ -189,7 +189,7 @@ jobs: permissions: id-token: write steps: - - uses: actions/download-artifact@v5 + - uses: actions/download-artifact@v6 with: pattern: wheels-* path: dist diff --git a/.github/workflows/run-dev-tests.yml b/.github/workflows/run-dev-tests.yml index 3d8371a8..240faf5f 100644 --- a/.github/workflows/run-dev-tests.yml +++ b/.github/workflows/run-dev-tests.yml @@ -55,7 +55,7 @@ jobs: # if: runner.os == 'Windows' # run: vcpkg install openssl - - uses: cargo-bins/cargo-binstall@a66119fbb1c952daba62640c2609111fe0803621 # v1.15.7 + - uses: cargo-bins/cargo-binstall@afcf9780305558bcc9e4bc94b7589ab2bb8b6106 # v1.15.9 env: GITHUB_TOKEN: ${{ github.token }} - name: Install third-party binaries @@ -69,7 +69,7 @@ jobs: python-version: 3.x - name: Install uv - uses: astral-sh/setup-uv@3259c6206f993105e3a61b142c2d97bf4b9ef83d # v7.1.0 + uses: astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7.1.2 with: enable-cache: true cache-dependency-glob: "uv.lock" @@ -227,7 +227,7 @@ jobs: run: nur test llvm-cov - name: Upload coverage data - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: HTML_report-${{ runner.os }} path: target/llvm-cov/html