diff --git a/.github/actions/artifact/download/action.yml b/.github/actions/artifact/download/action.yml index 0b1ba20..b9a32f3 100644 --- a/.github/actions/artifact/download/action.yml +++ b/.github/actions/artifact/download/action.yml @@ -18,7 +18,7 @@ runs: using: composite steps: - name: Download artifact from github - uses: actions/download-artifact@v4.1.7 + uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0 if: ${{ inputs.force-use-github == 'true' || runner.environment == 'github-hosted' }} with: name: ${{ inputs.name }} diff --git a/.github/actions/artifact/upload/action.yml b/.github/actions/artifact/upload/action.yml index 70426c2..4343730 100644 --- a/.github/actions/artifact/upload/action.yml +++ b/.github/actions/artifact/upload/action.yml @@ -18,7 +18,7 @@ runs: using: composite steps: - name: Upload artifact to github - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 if: ${{ inputs.force-use-github == 'true' || runner.environment == 'github-hosted' }} with: name: ${{ inputs.name }} diff --git a/.github/actions/pnpm/action.yml b/.github/actions/pnpm/action.yml index 038b8ce..d8b0c6b 100644 --- a/.github/actions/pnpm/action.yml +++ b/.github/actions/pnpm/action.yml @@ -10,9 +10,9 @@ inputs: runs: using: composite steps: - - uses: pnpm/action-setup@v4 + - uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: node-version: ${{ inputs['node-version'] }} cache: pnpm diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index ccaefc7..6a1f678 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -22,11 +22,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Branch - uses: taiki-e/checkout-action@v1 + uses: taiki-e/checkout-action@afad4df3ab3122b166e8226ac83be4d981fb64e8 # v1.3.2 - - uses: pnpm/action-setup@v4 + - uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: node-version-file: .node-version cache: pnpm @@ -47,7 +47,7 @@ jobs: run: cargo codspeed build --features codspeed - name: Run benchmark - uses: CodSpeedHQ/action@v3 + uses: CodSpeedHQ/action@76578c2a7ddd928664caa737f0e962e3085d4e7c # v3.8.1 timeout-minutes: 30 with: run: cargo codspeed run diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 09135cc..cb10e4e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,7 +35,7 @@ jobs: - os: macos-14 runs-on: ${{ matrix.os }} steps: - - uses: taiki-e/checkout-action@v1 + - uses: taiki-e/checkout-action@afad4df3ab3122b166e8226ac83be4d981fb64e8 # v1.3.2 - uses: ./.github/actions/pnpm - uses: Boshen/setup-rust@main with: @@ -62,7 +62,7 @@ jobs: name: Check Wasm runs-on: ubuntu-latest steps: - - uses: taiki-e/checkout-action@v1 + - uses: taiki-e/checkout-action@afad4df3ab3122b166e8226ac83be4d981fb64e8 # v1.3.2 - uses: Boshen/setup-rust@main with: @@ -78,7 +78,7 @@ jobs: name: Test wasi target runs-on: ubuntu-latest steps: - - uses: taiki-e/checkout-action@v1 + - uses: taiki-e/checkout-action@afad4df3ab3122b166e8226ac83be4d981fb64e8 # v1.3.2 - uses: Boshen/setup-rust@main with: @@ -101,7 +101,7 @@ jobs: name: Spell Check runs-on: ubuntu-latest steps: - - uses: taiki-e/checkout-action@v1 + - uses: taiki-e/checkout-action@afad4df3ab3122b166e8226ac83be4d981fb64e8 # v1.3.2 - uses: crate-ci/typos@5c19779cb52ea50e151f5a10333ccd269227b5ae # v1.41.0 with: @@ -111,9 +111,9 @@ jobs: name: Cargo Deny runs-on: ubuntu-latest steps: - - uses: taiki-e/checkout-action@v1 + - uses: taiki-e/checkout-action@afad4df3ab3122b166e8226ac83be4d981fb64e8 # v1.3.2 - - uses: dorny/paths-filter@v3 + - uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2 id: filter with: filters: | @@ -132,8 +132,8 @@ jobs: name: Check Unused Dependencies runs-on: ubuntu-latest steps: - - uses: taiki-e/checkout-action@v1 - - uses: dorny/paths-filter@v3 + - uses: taiki-e/checkout-action@afad4df3ab3122b166e8226ac83be4d981fb64e8 # v1.3.2 + - uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2 id: filter with: filters: | @@ -156,7 +156,7 @@ jobs: name: Format runs-on: ubuntu-latest steps: - - uses: taiki-e/checkout-action@v1 + - uses: taiki-e/checkout-action@afad4df3ab3122b166e8226ac83be4d981fb64e8 # v1.3.2 - name: Pnpm Setup uses: ./.github/actions/pnpm - uses: Boshen/setup-rust@main @@ -171,7 +171,7 @@ jobs: name: Clippy runs-on: ubuntu-latest steps: - - uses: taiki-e/checkout-action@v1 + - uses: taiki-e/checkout-action@afad4df3ab3122b166e8226ac83be4d981fb64e8 # v1.3.2 - uses: Boshen/setup-rust@main with: components: clippy @@ -181,7 +181,7 @@ jobs: name: Doc runs-on: ubuntu-latest steps: - - uses: taiki-e/checkout-action@v1 + - uses: taiki-e/checkout-action@afad4df3ab3122b166e8226ac83be4d981fb64e8 # v1.3.2 - uses: Boshen/setup-rust@main with: components: rust-docs @@ -203,7 +203,7 @@ jobs: env: RUST_BACKTRACE: 1 steps: - - uses: taiki-e/checkout-action@v1 + - uses: taiki-e/checkout-action@afad4df3ab3122b166e8226ac83be4d981fb64e8 # v1.3.2 - uses: ./.github/actions/pnpm with: node-version: ${{ matrix.node }} diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index c89b5f5..471912e 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: taiki-e/checkout-action@v1 + uses: taiki-e/checkout-action@afad4df3ab3122b166e8226ac83be4d981fb64e8 # v1.3.2 - uses: ./.github/actions/pnpm @@ -38,7 +38,7 @@ jobs: RUST_MIN_STACK: 8388608 - name: Upload Artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: name: codecov path: lcov.info @@ -54,17 +54,17 @@ jobs: steps: - name: Checkout if: env.CODECOV_TOKEN - uses: taiki-e/checkout-action@v1 + uses: taiki-e/checkout-action@afad4df3ab3122b166e8226ac83be4d981fb64e8 # v1.3.2 - name: Download coverage file if: env.CODECOV_TOKEN - uses: actions/download-artifact@v4 + uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0 with: name: codecov - name: Upload to codecov.io if: env.CODECOV_TOKEN - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0 with: token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: true diff --git a/.github/workflows/release-npm.yml b/.github/workflows/release-npm.yml index 88b5b52..ba3c523 100644 --- a/.github/workflows/release-npm.yml +++ b/.github/workflows/release-npm.yml @@ -85,7 +85,7 @@ jobs: # if: ${{ github.event_name == 'workflow_dispatch' }} steps: - name: Checkout Repo - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 with: # This makes Actions fetch only one branch to release fetch-depth: 1 @@ -95,7 +95,7 @@ jobs: uses: ./.github/actions/pnpm - name: Download artifacts - uses: actions/download-artifact@v4.1.7 + uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0 with: path: artifacts diff --git a/.github/workflows/release-plz.yml b/.github/workflows/release-plz.yml index f18284f..6944ec9 100644 --- a/.github/workflows/release-plz.yml +++ b/.github/workflows/release-plz.yml @@ -25,7 +25,7 @@ jobs: runs-on: ubuntu-latest environment: crate steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 with: fetch-depth: 0 ref: ${{ inputs.commit }} @@ -35,7 +35,7 @@ jobs: save-cache: ${{ github.ref_name == 'main' }} cache-key: warm - - uses: rust-lang/crates-io-auth-action@v1 + - uses: rust-lang/crates-io-auth-action@b7e9a28eded4986ec6b1fa40eeee8f8f165559ec # v1.0.3 id: auth - name: Publish diff --git a/.github/workflows/reusable-build.yml b/.github/workflows/reusable-build.yml index 2af76e5..68509e2 100644 --- a/.github/workflows/reusable-build.yml +++ b/.github/workflows/reusable-build.yml @@ -49,7 +49,7 @@ jobs: runner-labels: ${{ steps.upload-artifact.outputs.runner-labels || inputs.runner }} steps: - name: Checkout - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 with: ref: ${{ inputs.ref }}