From d8c6d047b393f606256147e244137331f1b38d22 Mon Sep 17 00:00:00 2001 From: Boshen Date: Fri, 13 Dec 2024 18:50:33 +0800 Subject: [PATCH] u --- .github/workflows/autofix.yml | 2 +- .github/workflows/benchmark.yml | 6 +++--- .github/workflows/bloat.yml | 2 +- .github/workflows/cargo-llvm-lines.yml | 2 +- .github/workflows/ci.yml | 18 +++++++++--------- .github/workflows/codecov.yml | 2 +- .github/workflows/deny.yml | 2 +- .github/workflows/miri.yml | 2 +- .github/workflows/prepare_release_crates.yml | 2 +- .github/workflows/release_crates.yml | 2 +- .github/workflows/release_oxlint.yml | 2 +- .github/workflows/release_wasm.yml | 2 +- .github/workflows/reusable_prepare_release.yml | 2 +- 13 files changed, 23 insertions(+), 23 deletions(-) diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml index 37cfc6a74cc9c..a3786e5014fd9 100644 --- a/.github/workflows/autofix.yml +++ b/.github/workflows/autofix.yml @@ -17,7 +17,7 @@ jobs: steps: - uses: taiki-e/checkout-action@v1.3.1 - - uses: oxc-project/setup-rust@1.0.0 + - uses: oxc-project/setup-rust@v1.0.0 with: restore-cache: false tools: just,cargo-shear@1,dprint diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index ad4caffa5f331..7e66fc4ff280f 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -66,7 +66,7 @@ jobs: - name: Checkout Branch uses: taiki-e/checkout-action@v1.3.1 - - uses: oxc-project/setup-rust@1.0.0 + - uses: oxc-project/setup-rust@v1.0.0 with: cache-key: benchmark-${{ matrix.component }} save-cache: ${{ github.ref_name == 'main' }} @@ -117,7 +117,7 @@ jobs: - name: Checkout Branch uses: taiki-e/checkout-action@v1.3.1 - - uses: oxc-project/setup-rust@1.0.0 + - uses: oxc-project/setup-rust@v1.0.0 with: cache-key: benchmark-linter save-cache: ${{ github.ref_name == 'main' }} @@ -208,7 +208,7 @@ jobs: # - name: Checkout Branch # uses: taiki-e/checkout-action@v1.3.1 - # - uses: oxc-project/setup-rust@1.0.0 + # - uses: oxc-project/setup-rust@v1.0.0 # with: # shared-key: benchmark_napi # save-cache: ${{ github.ref_name == 'main' }} diff --git a/.github/workflows/bloat.yml b/.github/workflows/bloat.yml index 4bed26a8a801e..d5f9fadb48f64 100644 --- a/.github/workflows/bloat.yml +++ b/.github/workflows/bloat.yml @@ -16,7 +16,7 @@ jobs: steps: - uses: taiki-e/checkout-action@v1.3.1 - - uses: oxc-project/setup-rust@1.0.0 + - uses: oxc-project/setup-rust@v1.0.0 with: cache-key: warm tools: cargo-bloat diff --git a/.github/workflows/cargo-llvm-lines.yml b/.github/workflows/cargo-llvm-lines.yml index 1880c9c0a2a83..7cba5084ae9fa 100644 --- a/.github/workflows/cargo-llvm-lines.yml +++ b/.github/workflows/cargo-llvm-lines.yml @@ -17,7 +17,7 @@ jobs: - name: Checkout uses: taiki-e/checkout-action@v1.3.1 - - uses: oxc-project/setup-rust@1.0.0 + - uses: oxc-project/setup-rust@v1.0.0 - name: Install cargo-llvm-lines uses: taiki-e/install-action@v2.46.8 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 62aff4418a3f9..7633b9487b02d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,7 +36,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - uses: taiki-e/checkout-action@v1.3.1 - - uses: oxc-project/setup-rust@1.0.0 + - uses: oxc-project/setup-rust@v1.0.0 with: # warm cache factory for all other CI jobs # cache `target` directory to avoid download crates @@ -107,7 +107,7 @@ jobs: TEST_FLAGS: "-p oxc_ast -p oxc_cfg -p oxc_regular_expression -- --nocapture" steps: - uses: taiki-e/checkout-action@v1.3.1 - - uses: oxc-project/setup-rust@1.0.0 + - uses: oxc-project/setup-rust@v1.0.0 with: cache-key: wasi save-cache: ${{ github.ref_name == 'main' }} @@ -122,7 +122,7 @@ jobs: steps: - uses: taiki-e/checkout-action@v1.3.1 - - uses: oxc-project/setup-rust@1.0.0 + - uses: oxc-project/setup-rust@v1.0.0 with: cache-key: wasm save-cache: ${{ github.ref_name == 'main' }} @@ -156,7 +156,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: taiki-e/checkout-action@v1.3.1 - - uses: oxc-project/setup-rust@1.0.0 + - uses: oxc-project/setup-rust@v1.0.0 with: save-cache: ${{ github.ref_name == 'main' }} cache-key: clippy @@ -177,7 +177,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: taiki-e/checkout-action@v1.3.1 - - uses: oxc-project/setup-rust@1.0.0 + - uses: oxc-project/setup-rust@v1.0.0 with: cache-key: warm components: rust-docs @@ -213,7 +213,7 @@ jobs: - uses: ./.github/actions/pnpm if: steps.filter.outputs.src == 'true' - - uses: oxc-project/setup-rust@1.0.0 + - uses: oxc-project/setup-rust@v1.0.0 if: steps.filter.outputs.src == 'true' with: cache-key: conformance @@ -246,7 +246,7 @@ jobs: - 'crates/oxc_codegen/**' - 'tasks/minsize/**' - - uses: oxc-project/setup-rust@1.0.0 + - uses: oxc-project/setup-rust@v1.0.0 if: steps.filter.outputs.src == 'true' with: cache-key: minsize @@ -269,7 +269,7 @@ jobs: with: filters: ".github/.generated_ast_watch_list.yml" - - uses: oxc-project/setup-rust@1.0.0 + - uses: oxc-project/setup-rust@v1.0.0 if: steps.filter.outputs.src == 'true' with: components: rustfmt @@ -310,7 +310,7 @@ jobs: filters: | src: - '!crates/oxc_linter/**' - - uses: oxc-project/setup-rust@1.0.0 + - uses: oxc-project/setup-rust@v1.0.0 if: steps.filter.outputs.src == 'true' with: cache-key: warm diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 000b965dd27b2..6934341c53cd3 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -26,7 +26,7 @@ jobs: - name: Clone submodules uses: ./.github/actions/clone-submodules - - uses: oxc-project/setup-rust@1.0.0 + - uses: oxc-project/setup-rust@v1.0.0 with: cache-key: codecov save-cache: ${{ github.ref_name == 'main' }} diff --git a/.github/workflows/deny.yml b/.github/workflows/deny.yml index 7e09b4c538b9a..758a32ab33989 100644 --- a/.github/workflows/deny.yml +++ b/.github/workflows/deny.yml @@ -27,7 +27,7 @@ jobs: steps: - uses: taiki-e/checkout-action@v1.3.1 - - uses: oxc-project/setup-rust@1.0.0 + - uses: oxc-project/setup-rust@v1.0.0 with: restore-cache: false tools: cargo-deny diff --git a/.github/workflows/miri.yml b/.github/workflows/miri.yml index b449c05d9370f..2154c1b5454eb 100644 --- a/.github/workflows/miri.yml +++ b/.github/workflows/miri.yml @@ -32,7 +32,7 @@ jobs: - name: Checkout uses: taiki-e/checkout-action@v1.3.1 - - uses: oxc-project/setup-rust@1.0.0 + - uses: oxc-project/setup-rust@v1.0.0 with: cache-key: miri save-cache: ${{ github.ref_name == 'main' }} diff --git a/.github/workflows/prepare_release_crates.yml b/.github/workflows/prepare_release_crates.yml index 737ae09b43447..7c3664a8cfe0d 100644 --- a/.github/workflows/prepare_release_crates.yml +++ b/.github/workflows/prepare_release_crates.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: taiki-e/checkout-action@v1.3.1 - - uses: oxc-project/setup-rust@1.0.0 + - uses: oxc-project/setup-rust@v1.0.0 with: cache-key: warm tools: cargo-release-oxc diff --git a/.github/workflows/release_crates.yml b/.github/workflows/release_crates.yml index 130e69a907875..8c3019881a7f8 100644 --- a/.github/workflows/release_crates.yml +++ b/.github/workflows/release_crates.yml @@ -25,7 +25,7 @@ jobs: token: ${{ secrets.PAT }} # required for git tag push persist-credentials: false - - uses: oxc-project/setup-rust@1.0.0 + - uses: oxc-project/setup-rust@v1.0.0 with: cache-key: warm tools: cargo-release-oxc diff --git a/.github/workflows/release_oxlint.yml b/.github/workflows/release_oxlint.yml index bbbbe317fa308..9e03f91d3f200 100644 --- a/.github/workflows/release_oxlint.yml +++ b/.github/workflows/release_oxlint.yml @@ -156,7 +156,7 @@ jobs: fetch-depth: 0 # for changelog persist-credentials: false - - uses: oxc-project/setup-rust@1.0.0 + - uses: oxc-project/setup-rust@v1.0.0 with: restore-cache: false tools: cargo-release-oxc diff --git a/.github/workflows/release_wasm.yml b/.github/workflows/release_wasm.yml index a901e6adc1803..1ffe8188410c3 100644 --- a/.github/workflows/release_wasm.yml +++ b/.github/workflows/release_wasm.yml @@ -50,7 +50,7 @@ jobs: - uses: ./.github/actions/pnpm - - uses: oxc-project/setup-rust@1.0.0 + - uses: oxc-project/setup-rust@v1.0.0 with: cache-key: "wasm" tools: wasm-pack diff --git a/.github/workflows/reusable_prepare_release.yml b/.github/workflows/reusable_prepare_release.yml index 7a6bab3653d8a..11a0d60006396 100644 --- a/.github/workflows/reusable_prepare_release.yml +++ b/.github/workflows/reusable_prepare_release.yml @@ -29,7 +29,7 @@ jobs: fetch-depth: 0 persist-credentials: false - - uses: oxc-project/setup-rust@1.0.0 + - uses: oxc-project/setup-rust@v1.0.0 with: cache-key: warm tools: cargo-release-oxc