3030 - run : git diff --exit-code # Must commit everything
3131
3232 test-ubuntu-aarch64 :
33+ if : ${{ github.ref_name == 'main' }}
3334 name : Test Linux ARM64
3435 runs-on : ubuntu-24.04-arm
3536 steps :
@@ -43,11 +44,10 @@ jobs:
4344 - run : cargo test --all-features
4445 - run : git diff --exit-code # Must commit everything
4546
46- # Separate job to save a job on PRs
47- test-mac :
47+ test-mac : # Separate job to save a job on PRs
48+ if : ${{ github.ref_name == 'main' }}
4849 name : Test Mac
4950 runs-on : macos-latest
50- if : ${{ github.ref_name == 'main' }}
5151 steps :
5252 - uses : taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1.3.1
5353 - uses : oxc-project/setup-node@f42e3bda950c7454575e78ee4eaac880a077700c # v1.0.0
@@ -60,12 +60,12 @@ jobs:
6060 - run : git diff --exit-code # Must commit everything
6161
6262 test-windows :
63- name : Test Windows
6463 if : ${{ github.ref_name == 'main' }}
64+ name : Test Windows
6565 runs-on : windows-latest
6666 steps :
6767 - uses : taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1.3.1
68- # Unsung heros of the internet, who led me here to speed up window's slowness:
68+ # Unsung heroes of the internet, who led me here to speed up Windows' slowness:
6969 # https://github.com/actions/cache/issues/752#issuecomment-1847036770
7070 # https://github.com/astral-sh/uv/blob/502e04200d52de30d3159894833b3db4f0d6644d/.github/workflows/ci.yml#L158
7171 - uses : oxc-project/setup-node@f42e3bda950c7454575e78ee4eaac880a077700c # v1.0.0
@@ -103,8 +103,8 @@ jobs:
103103 shell : bash
104104
105105 test-big-endian :
106- name : Test big-endian # s390x-unknown-linux-gnu is a big-endian
107106 if : ${{ github.ref_name == 'main' }}
107+ name : Test big-endian # s390x-unknown-linux-gnu is a big-endian
108108 runs-on : ubuntu-latest
109109 steps :
110110 - uses : taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1.3.1
@@ -167,18 +167,18 @@ jobs:
167167 - '!crates/oxc_linter/**'
168168 - '!crates/oxc_language_server/**'
169169 - '!editors/**'
170- - uses : ./.github/actions/clone-submodules
171- if : steps.filter.outputs.src == 'true'
172- with :
173- babel : false
174- prettier : false
175170 - uses : oxc-project/setup-rust@cd82e1efec7fef815e2c23d296756f31c7cdc03d # v1.0.0
176171 if : steps.filter.outputs.src == 'true'
177172 with :
178173 cache-key : napi
179174 save-cache : ${{ github.ref_name == 'main' }}
180175 - uses : oxc-project/setup-node@f42e3bda950c7454575e78ee4eaac880a077700c # v1.0.0
181176 if : steps.filter.outputs.src == 'true'
177+ - uses : ./.github/actions/clone-submodules
178+ if : steps.filter.outputs.src == 'true'
179+ with :
180+ babel : false
181+ prettier : false
182182 - if : steps.filter.outputs.src == 'true'
183183 name : Run tests in workspace
184184 env :
@@ -202,7 +202,7 @@ jobs:
202202 runs-on : ubuntu-latest
203203 steps :
204204 - uses : taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1.3.1
205- - uses : crate-ci/typos@52bd719c2c91f9d676e2aa359fc8e0db8925e6d8 # v1.35.3
205+ - uses : crate-ci/typos@a67079b4ae32e18c3f53d75368c52ce53b5fb56b # v1.35.4
206206 with :
207207 files : .
208208
@@ -350,7 +350,7 @@ jobs:
350350 save-cache : ${{ github.ref_name == 'main' }}
351351
352352 - name : Restore dprint plugin cache
353- uses : actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
353+ uses : actions/cache/restore@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
354354 with :
355355 key : dprint-${{ hashFiles('dprint.json') }}
356356 path : ~/.cache/dprint
0 commit comments