diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-06-11 03:17:19 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-06-11 03:17:19 +0300 |
| commit | 01e5a1933e1e8cc4baf0a68c6f714117311e22bd (patch) | |
| tree | 726ddcc2ced468853418544366bc7da4b84951fc /.github/workflows/preview.yml | |
| parent | 78e223b3c77dad0bf5598187458394dfda710789 (diff) | |
ci: pin github actions to shas
Diffstat (limited to '.github/workflows/preview.yml')
| -rw-r--r-- | .github/workflows/preview.yml | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 7af41cf5..abf08ee6 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -35,7 +35,7 @@ jobs: base_version: ${{ steps.plan.outputs.base_version }} protocol: ${{ steps.plan.outputs.protocol }} steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 with: ref: master fetch-depth: 0 @@ -84,11 +84,11 @@ jobs: - name: Install Rust if: steps.plan.outputs.should_publish == 'true' - uses: dtolnay/rust-toolchain@stable + uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable - name: Install Rust tools if: steps.plan.outputs.should_publish == 'true' - uses: taiki-e/install-action@b550161ef8a7bc4f2a671c0b03a18ac9ccedea1e # v2 + uses: taiki-e/install-action@fd2f5e3d644b484055ebf4268f474c565f148f25 # v2.81.9 with: tool: just,cargo-nextest @@ -100,7 +100,7 @@ jobs: - name: Restore cargo cache if: steps.plan.outputs.should_publish == 'true' - uses: Swatinem/rust-cache@v2 + uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2 with: cache-bin: false @@ -140,13 +140,13 @@ jobs: HERDR_BUILD_ID: ${{ needs.preflight.outputs.build_id }} HERDR_BUILD_COMMIT: ${{ needs.preflight.outputs.commit }} steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 with: ref: ${{ needs.preflight.outputs.commit }} persist-credentials: false - name: Install Rust - uses: dtolnay/rust-toolchain@stable + uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable with: targets: ${{ matrix.target }} @@ -176,7 +176,7 @@ jobs: run: echo "CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER=aarch64-linux-gnu-gcc" >> $GITHUB_ENV - name: Cache Rust artifacts - uses: Swatinem/rust-cache@v2 + uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2 with: key: preview-${{ matrix.target }} @@ -238,7 +238,7 @@ jobs: "channel=preview" | Out-File -Encoding utf8 -Append BUILD_INFO.txt - name: Upload artifact - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7 with: name: ${{ matrix.name }} path: | @@ -254,14 +254,14 @@ jobs: contents: write issues: write steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 with: ref: master fetch-depth: 0 persist-credentials: false - name: Download all artifacts - uses: actions/download-artifact@v8 + uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8 with: path: artifacts @@ -296,7 +296,7 @@ jobs: PY - name: Create preview prerelease - uses: softprops/action-gh-release@v3 + uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v3 with: tag_name: ${{ needs.preflight.outputs.tag }} name: Preview build ${{ needs.preflight.outputs.build_id }} |
