Skip to content

Commit

Permalink
ci: fix more zizmor warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshen committed Dec 13, 2024
1 parent b24a636 commit 53e2ad4
Show file tree
Hide file tree
Showing 20 changed files with 60 additions and 60 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/autofix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
autofix:
runs-on: ubuntu-latest
steps:
- uses: taiki-e/checkout-action@v1
- uses: taiki-e/checkout-action@v1.3.1

- uses: Boshen/setup-rust@main
with:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:

steps:
- name: Checkout Branch
uses: taiki-e/checkout-action@v1
uses: taiki-e/checkout-action@v1.3.1

- uses: Boshen/setup-rust@main
with:
Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Branch
uses: taiki-e/checkout-action@v1
uses: taiki-e/checkout-action@v1.3.1

- uses: Boshen/setup-rust@main
with:
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:

steps:
- name: Checkout Branch
uses: taiki-e/checkout-action@v1
uses: taiki-e/checkout-action@v1.3.1

- name: Download Binary
uses: actions/download-artifact@v4
Expand Down Expand Up @@ -216,7 +216,7 @@ jobs:
# if: false
# steps:
# - name: Checkout Branch
# uses: taiki-e/checkout-action@v1
# uses: taiki-e/checkout-action@v1.3.1

# - uses: Boshen/setup-rust@main
# with:
Expand Down Expand Up @@ -288,7 +288,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Branch
uses: taiki-e/checkout-action@v1
uses: taiki-e/checkout-action@v1.3.1

- uses: ./.github/actions/pnpm

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bloat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
name: Cargo Bloat
runs-on: ubuntu-latest
steps:
- uses: taiki-e/checkout-action@v1
- uses: taiki-e/checkout-action@v1.3.1

- uses: Boshen/setup-rust@main
with:
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 @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: taiki-e/checkout-action@v1
uses: taiki-e/checkout-action@v1.3.1

- uses: Boshen/setup-rust@main

Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- os: macos-latest
runs-on: ${{ matrix.os }}
steps:
- uses: taiki-e/checkout-action@v1
- uses: taiki-e/checkout-action@v1.3.1
- uses: Boshen/setup-rust@main
with:
# warm cache factory for all other CI jobs
Expand All @@ -51,7 +51,7 @@ jobs:
if: ${{ github.ref_name == 'main' }}
runs-on: windows-latest
steps:
- uses: taiki-e/checkout-action@v1
- uses: taiki-e/checkout-action@v1.3.1
# Unsung heros of the internet, who led me here to speed up window's slowness:
# https://github.com/actions/cache/issues/752#issuecomment-1847036770
# https://github.com/astral-sh/uv/blob/502e04200d52de30d3159894833b3db4f0d6644d/.github/workflows/ci.yml#L158
Expand Down Expand Up @@ -106,21 +106,21 @@ jobs:
# Insta is not able to run on wasmtime, omit the packages that depend on it
TEST_FLAGS: "-p oxc_ast -p oxc_cfg -p oxc_regular_expression -- --nocapture"
steps:
- uses: taiki-e/checkout-action@v1
- uses: taiki-e/checkout-action@v1.3.1
- uses: Boshen/setup-rust@main
with:
cache-key: wasi
save-cache: ${{ github.ref_name == 'main' }}
- run: rustup target add wasm32-wasip1-threads
- uses: bytecodealliance/actions/wasmtime/setup@v1
- uses: bytecodealliance/actions/wasmtime/setup@v1.3.1
- run: cargo test --target wasm32-wasip1-threads ${TEST_FLAGS}
- run: git diff --exit-code # Must commit everything

test-wasm32-unknown-unknown:
name: Check wasm32-unknown-unknown
runs-on: ubuntu-latest
steps:
- uses: taiki-e/checkout-action@v1
- uses: taiki-e/checkout-action@v1.3.1

- uses: Boshen/setup-rust@main
with:
Expand All @@ -146,7 +146,7 @@ jobs:
name: Spell Check
runs-on: ubuntu-latest
steps:
- uses: taiki-e/checkout-action@v1
- uses: taiki-e/checkout-action@v1.3.1
- uses: crate-ci/[email protected]
with:
files: .
Expand All @@ -155,7 +155,7 @@ jobs:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: taiki-e/checkout-action@v1
- uses: taiki-e/checkout-action@v1.3.1
- uses: Boshen/setup-rust@main
with:
save-cache: ${{ github.ref_name == 'main' }}
Expand All @@ -176,7 +176,7 @@ jobs:
name: Doc
runs-on: ubuntu-latest
steps:
- uses: taiki-e/checkout-action@v1
- uses: taiki-e/checkout-action@v1.3.1
- uses: Boshen/setup-rust@main
with:
cache-key: warm
Expand All @@ -187,7 +187,7 @@ jobs:
name: Conformance
runs-on: ubuntu-latest
steps:
- uses: taiki-e/checkout-action@v1
- uses: taiki-e/checkout-action@v1.3.1

- uses: dorny/paths-filter@v3
id: filter
Expand Down Expand Up @@ -234,7 +234,7 @@ jobs:
name: Minification Size
runs-on: ubuntu-latest
steps:
- uses: taiki-e/checkout-action@v1
- uses: taiki-e/checkout-action@v1.3.1

- uses: dorny/paths-filter@v3
id: filter
Expand Down Expand Up @@ -262,7 +262,7 @@ jobs:
name: AST Changes
runs-on: ubuntu-latest
steps:
- uses: taiki-e/checkout-action@v1
- uses: taiki-e/checkout-action@v1.3.1

- uses: dorny/paths-filter@v3
id: filter
Expand Down Expand Up @@ -303,7 +303,7 @@ jobs:
name: Test NAPI
runs-on: ubuntu-latest
steps:
- uses: taiki-e/checkout-action@v1
- uses: taiki-e/checkout-action@v1.3.1
- uses: dorny/paths-filter@v3
id: filter
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci_vscode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
name: Compile
runs-on: ubuntu-latest
steps:
- uses: taiki-e/checkout-action@v1
- uses: taiki-e/checkout-action@v1.3.1
- uses: ./.github/actions/pnpm

- name: Compile VSCode
Expand All @@ -39,7 +39,7 @@ jobs:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: taiki-e/checkout-action@v1
- uses: taiki-e/checkout-action@v1.3.1
- uses: ./.github/actions/pnpm

- name: Lint VSCode
Expand All @@ -50,7 +50,7 @@ jobs:
name: Type-Check
runs-on: ubuntu-latest
steps:
- uses: taiki-e/checkout-action@v1
- uses: taiki-e/checkout-action@v1.3.1
- uses: ./.github/actions/pnpm

- name: Type-Check VSCode
Expand All @@ -61,7 +61,7 @@ jobs:
name: Test
runs-on: ubuntu-latest
steps:
- uses: taiki-e/checkout-action@v1
- uses: taiki-e/checkout-action@v1.3.1
- uses: ./.github/actions/pnpm

- name: Test VSCode
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: taiki-e/checkout-action@v1
uses: taiki-e/checkout-action@v1.3.1

- name: Clone submodules
uses: ./.github/actions/clone-submodules
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
steps:
- name: Checkout
if: env.CODECOV_TOKEN
uses: taiki-e/checkout-action@v1
uses: taiki-e/checkout-action@v1.3.1

- name: Download coverage file
if: env.CODECOV_TOKEN
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deny.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
name: Cargo Deny
runs-on: ubuntu-latest
steps:
- uses: taiki-e/checkout-action@v1
- uses: taiki-e/checkout-action@v1.3.1

- uses: Boshen/setup-rust@main
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/link-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: taiki-e/checkout-action@v1
uses: taiki-e/checkout-action@v1.3.1

- name: Check Links
uses: lycheeverse/lychee-action@master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint-rules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Branch
uses: taiki-e/checkout-action@v1
uses: taiki-e/checkout-action@v1.3.1

- uses: actions/setup-node@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/miri.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: taiki-e/checkout-action@v1
uses: taiki-e/checkout-action@v1.3.1

- uses: Boshen/setup-rust@main
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: taiki-e/checkout-action@v1
- uses: taiki-e/checkout-action@v1.3.1

- uses: actions/labeler@v5

Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
echo "CATEGORY=$CATEGORY" >> $GITHUB_OUTPUT
- name: Add category label
uses: actions-ecosystem/action-add-labels@v1
uses: actions-ecosystem/action-add-labels@v1.3.1
if: ${{ steps.get-category.outputs.CATEGORY != '' }}
with:
labels: ${{ steps.get-category.outputs.CATEGORY }}
6 changes: 3 additions & 3 deletions .github/workflows/prepare_release_crates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
name: Check
runs-on: ubuntu-latest
steps:
- uses: taiki-e/checkout-action@v1
- uses: taiki-e/checkout-action@v1.3.1
- uses: Boshen/setup-rust@main
with:
cache-key: warm
Expand All @@ -34,7 +34,7 @@ jobs:
name: Trigger Monitor Oxc
runs-on: ubuntu-latest
steps:
- uses: taiki-e/checkout-action@v1
- uses: taiki-e/checkout-action@v1.3.1

- uses: peter-evans/create-or-update-comment@v4
id: comment
Expand All @@ -43,7 +43,7 @@ jobs:
issue-number: ${{ needs.prepare.outputs.pull-request-number }}
body: Triggering Monitor Oxc https://github.com/oxc-project/monitor-oxc/actions/workflows/ci.yml

- uses: benc-uk/workflow-dispatch@v1
- uses: benc-uk/workflow-dispatch@v1.3.1
with:
repo: oxc-project/monitor-oxc
workflow: ci.yml
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/prepare_release_oxlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
pull-requests: write
contents: write
steps:
- uses: taiki-e/checkout-action@v1
- uses: taiki-e/checkout-action@v1.3.1

- uses: peter-evans/create-or-update-comment@v4
id: comment
Expand All @@ -36,7 +36,7 @@ jobs:
issue-number: ${{ needs.prepare.outputs.pull-request-number }}
body: Triggering Ecosystem CI https://github.com/oxc-project/oxlint-ecosystem-ci/actions/workflows/ci.yml

- uses: benc-uk/workflow-dispatch@v1
- uses: benc-uk/workflow-dispatch@v1.3.1
with:
repo: oxc-project/oxlint-ecosystem-ci
workflow: ci.yml
Expand All @@ -51,8 +51,8 @@ jobs:
permissions:
actions: write
steps:
- uses: taiki-e/checkout-action@v1
- uses: benc-uk/workflow-dispatch@v1
- uses: taiki-e/checkout-action@v1.3.1
- uses: benc-uk/workflow-dispatch@v1.3.1
with:
repo: oxc-project/oxc-project.github.io
workflow: release.yml
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release_napi_parser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
version: ${{ env.version }}
version_changed: ${{ steps.version.outputs.changed }}
steps:
- uses: taiki-e/checkout-action@v1
- uses: taiki-e/checkout-action@v1.3.1

- name: Check version changes
uses: EndBug/version-check@v2
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
name: Package ${{ matrix.target }}
runs-on: ${{ matrix.os }}
steps:
- uses: taiki-e/checkout-action@v1
- uses: taiki-e/checkout-action@v1.3.1

### install musl dependencies ###
#
Expand Down Expand Up @@ -168,7 +168,7 @@ jobs:
needs:
- build
steps:
- uses: taiki-e/checkout-action@v1
- uses: taiki-e/checkout-action@v1.3.1

- uses: ./.github/actions/pnpm

Expand All @@ -178,7 +178,7 @@ jobs:
merge-multiple: true

- name: Unzip
uses: montudor/action-zip@v1
uses: montudor/action-zip@v1.3.1
with:
args: unzip -qq *.zip -d .

Expand Down
Loading

0 comments on commit 53e2ad4

Please sign in to comment.