Skip to content

Commit

Permalink
ci: pin oxc-project/[email protected] (#7834)
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshen authored Dec 13, 2024
1 parent 7610dc1 commit befb0a5
Show file tree
Hide file tree
Showing 13 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/autofix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
steps:
- uses: taiki-e/checkout-action@v1

- uses: Boshen/setup-rust@main
- uses: oxc-project/setup-rust@1.0.0
with:
restore-cache: false
tools: just,cargo-shear@1,dprint
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
- name: Checkout Branch
uses: taiki-e/checkout-action@v1

- uses: Boshen/setup-rust@main
- uses: oxc-project/setup-rust@1.0.0
with:
cache-key: benchmark-${{ matrix.component }}
save-cache: ${{ github.ref_name == 'main' }}
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
- name: Checkout Branch
uses: taiki-e/checkout-action@v1

- uses: Boshen/setup-rust@main
- uses: oxc-project/setup-rust@1.0.0
with:
cache-key: benchmark-linter
save-cache: ${{ github.ref_name == 'main' }}
Expand Down Expand Up @@ -208,7 +208,7 @@ jobs:
# - name: Checkout Branch
# uses: taiki-e/checkout-action@v1

# - uses: Boshen/setup-rust@main
# - uses: oxc-project/setup-rust@1.0.0
# with:
# shared-key: benchmark_napi
# save-cache: ${{ github.ref_name == 'main' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bloat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
steps:
- uses: taiki-e/checkout-action@v1

- uses: Boshen/setup-rust@main
- uses: oxc-project/setup-rust@1.0.0
with:
cache-key: warm
tools: cargo-bloat
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cargo-llvm-lines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Checkout
uses: taiki-e/checkout-action@v1

- uses: Boshen/setup-rust@main
- uses: oxc-project/setup-rust@1.0.0

- name: Install cargo-llvm-lines
uses: taiki-e/install-action@v2
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: taiki-e/checkout-action@v1
- uses: Boshen/setup-rust@main
- uses: oxc-project/setup-rust@1.0.0
with:
# warm cache factory for all other CI jobs
# cache `target` directory to avoid download crates
Expand Down Expand Up @@ -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
- uses: Boshen/setup-rust@main
- uses: oxc-project/setup-rust@1.0.0
with:
cache-key: wasi
save-cache: ${{ github.ref_name == 'main' }}
Expand All @@ -122,7 +122,7 @@ jobs:
steps:
- uses: taiki-e/checkout-action@v1

- uses: Boshen/setup-rust@main
- uses: oxc-project/setup-rust@1.0.0
with:
cache-key: wasm
save-cache: ${{ github.ref_name == 'main' }}
Expand Down Expand Up @@ -156,7 +156,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: taiki-e/checkout-action@v1
- uses: Boshen/setup-rust@main
- uses: oxc-project/setup-rust@1.0.0
with:
save-cache: ${{ github.ref_name == 'main' }}
cache-key: clippy
Expand All @@ -177,7 +177,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: taiki-e/checkout-action@v1
- uses: Boshen/setup-rust@main
- uses: oxc-project/setup-rust@1.0.0
with:
cache-key: warm
components: rust-docs
Expand Down Expand Up @@ -213,7 +213,7 @@ jobs:
- uses: ./.github/actions/pnpm
if: steps.filter.outputs.src == 'true'

- uses: Boshen/setup-rust@main
- uses: oxc-project/setup-rust@1.0.0
if: steps.filter.outputs.src == 'true'
with:
cache-key: conformance
Expand Down Expand Up @@ -246,7 +246,7 @@ jobs:
- 'crates/oxc_codegen/**'
- 'tasks/minsize/**'
- uses: Boshen/setup-rust@main
- uses: oxc-project/setup-rust@1.0.0
if: steps.filter.outputs.src == 'true'
with:
cache-key: minsize
Expand All @@ -269,7 +269,7 @@ jobs:
with:
filters: ".github/.generated_ast_watch_list.yml"

- uses: Boshen/setup-rust@main
- uses: oxc-project/setup-rust@1.0.0
if: steps.filter.outputs.src == 'true'
with:
components: rustfmt
Expand Down Expand Up @@ -310,7 +310,7 @@ jobs:
filters: |
src:
- '!crates/oxc_linter/**'
- uses: Boshen/setup-rust@main
- uses: oxc-project/setup-rust@1.0.0
if: steps.filter.outputs.src == 'true'
with:
cache-key: warm
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Clone submodules
uses: ./.github/actions/clone-submodules

- uses: Boshen/setup-rust@main
- uses: oxc-project/setup-rust@1.0.0
with:
cache-key: codecov
save-cache: ${{ github.ref_name == 'main' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deny.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
steps:
- uses: taiki-e/checkout-action@v1

- uses: Boshen/setup-rust@main
- uses: oxc-project/setup-rust@1.0.0
with:
restore-cache: false
tools: cargo-deny
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/miri.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Checkout
uses: taiki-e/checkout-action@v1

- uses: Boshen/setup-rust@main
- uses: oxc-project/setup-rust@1.0.0
with:
cache-key: miri
save-cache: ${{ github.ref_name == 'main' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prepare_release_crates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: taiki-e/checkout-action@v1
- uses: Boshen/setup-rust@main
- uses: oxc-project/setup-rust@1.0.0
with:
cache-key: warm
tools: cargo-release-oxc
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_crates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
token: ${{ secrets.PAT }} # required for git tag push
persist-credentials: false

- uses: Boshen/setup-rust@main
- uses: oxc-project/setup-rust@1.0.0
with:
cache-key: warm
tools: cargo-release-oxc
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_oxlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ jobs:
fetch-depth: 0 # for changelog
persist-credentials: false

- uses: Boshen/setup-rust@main
- uses: oxc-project/setup-rust@1.0.0
with:
restore-cache: false
tools: cargo-release-oxc
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:

- uses: ./.github/actions/pnpm

- uses: Boshen/setup-rust@main
- uses: oxc-project/setup-rust@1.0.0
with:
cache-key: "wasm"
tools: wasm-pack
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable_prepare_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
fetch-depth: 0
persist-credentials: false

- uses: Boshen/setup-rust@main
- uses: oxc-project/setup-rust@1.0.0
with:
cache-key: warm
tools: cargo-release-oxc
Expand Down

0 comments on commit befb0a5

Please sign in to comment.