Skip to content

Commit

Permalink
chore(deps): pin dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Dec 13, 2024
1 parent ba84acd commit 277b851
Show file tree
Hide file tree
Showing 25 changed files with 107 additions and 107 deletions.
8 changes: 4 additions & 4 deletions .github/actions/clone-submodules/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,28 @@ description: Clone submodules
runs:
using: composite
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
show-progress: false
repository: tc39/test262
path: tasks/coverage/test262
ref: dc0082c5ea347e5ecb585c1d7ebf4555aa429528

- uses: actions/checkout@v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
show-progress: false
repository: babel/babel
path: tasks/coverage/babel
ref: 54a8389fa31ce4fd18b0335b05832dc1ad3cc21f

- uses: actions/checkout@v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
show-progress: false
repository: microsoft/TypeScript
path: tasks/coverage/typescript
ref: d85767abfd83880cea17cea70f9913e9c4496dcc

- uses: actions/checkout@v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
show-progress: false
repository: prettier/prettier
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/pnpm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: pnpm
runs:
using: composite
steps:
- uses: pnpm/[email protected]
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0

- uses: actions/setup-node@v4
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
with:
node-version-file: .node-version
registry-url: "https://registry.npmjs.org"
Expand Down
8 changes: 4 additions & 4 deletions .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/[email protected]
- uses: taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1.3.1

- uses: oxc-project/[email protected]
with:
Expand All @@ -25,21 +25,21 @@ jobs:

- name: Restore dprint plugin cache
id: cache-restore
uses: actions/cache/restore@v4
uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4
with:
key: dprint-autofix-ci-${{ runner.os }}-${{ hashFiles('dprint.json') }}
path: ~/.cache/dprint

- run: just fmt

- uses: autofix-ci/[email protected]
- uses: autofix-ci/action@2891949f3779a1cafafae1523058501de3d4e944 # v1.3.1
with:
fail-fast: false

- name: Save dprint plugin cache
if: ${{ github.ref_name == 'main' }}
id: cache-save
uses: actions/cache/save@v4
uses: actions/cache/save@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4
with:
key: ${{ steps.cache-restore.outputs.cache-primary-key }}
path: ~/.cache/dprint
26 changes: 13 additions & 13 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:

steps:
- name: Checkout Branch
uses: taiki-e/[email protected]
uses: taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1.3.1

- uses: oxc-project/[email protected]
with:
Expand All @@ -91,7 +91,7 @@ jobs:
rm target/codspeed/oxc_benchmark/*.d
- name: Run benchmark
uses: CodSpeedHQ/action@v3
uses: CodSpeedHQ/action@513a19673a831f139e8717bf45ead67e47f00044 # v3
timeout-minutes: 30
with:
# Dummy token for tokenless runs, to suppress logging hash of metadata JSON (see `upload.mjs`)
Expand All @@ -100,7 +100,7 @@ jobs:
run: cargo codspeed run

- name: Upload bench data artefact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
with:
name: result-${{ matrix.component }}
path: ${{ env.DATA_DIR }} # env.DATA_DIR from `capture.mjs`
Expand All @@ -115,7 +115,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Branch
uses: taiki-e/[email protected]
uses: taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1.3.1

- uses: oxc-project/[email protected]
with:
Expand All @@ -133,7 +133,7 @@ jobs:
rm target/codspeed/oxc_benchmark/*.d
- name: Upload Binary
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
with:
if-no-files-found: error
name: benchmark-linter
Expand All @@ -154,10 +154,10 @@ jobs:

steps:
- name: Checkout Branch
uses: taiki-e/[email protected]
uses: taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1.3.1

- name: Download Binary
uses: actions/download-artifact@v4
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4
with:
name: benchmark-linter
path: ./target/codspeed/oxc_benchmark
Expand All @@ -168,7 +168,7 @@ jobs:
chmod +x ./target/codspeed/oxc_benchmark/*
- name: Install codspeed
uses: taiki-e/[email protected]
uses: taiki-e/install-action@8c39981484df4e7ba41af8e8e078ac546d5e1b11 # v2.46.8
with:
tool: cargo-codspeed

Expand All @@ -182,7 +182,7 @@ jobs:
run: node capture.mjs &

- name: Run benchmark
uses: CodSpeedHQ/action@v3
uses: CodSpeedHQ/action@513a19673a831f139e8717bf45ead67e47f00044 # v3
timeout-minutes: 30
env:
FIXTURE: ${{ matrix.fixture }}
Expand All @@ -193,7 +193,7 @@ jobs:
run: cargo codspeed run

- name: Upload bench data artefact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
with:
name: result-linter${{ matrix.fixture }}
path: ${{ env.DATA_DIR }} # env.DATA_DIR from `capture.mjs`
Expand Down Expand Up @@ -278,7 +278,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Branch
uses: taiki-e/[email protected]
uses: taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1.3.1

- uses: ./.github/actions/pnpm

Expand All @@ -287,7 +287,7 @@ jobs:
run: node create_temp_dir.mjs

- name: Download artefacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4
with:
merge-multiple: true
pattern: result-*
Expand All @@ -300,7 +300,7 @@ jobs:
run: node upload.mjs

- name: Delete temporary artefacts
uses: geekyeggo/delete-artifact@v5
uses: geekyeggo/delete-artifact@f275313e70c08f6120db482d7a6b98377786765b # v5
with:
name: |
result-*
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/[email protected]
- uses: taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1.3.1

- uses: oxc-project/[email protected]
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cargo-llvm-lines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: taiki-e/[email protected]
uses: taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1.3.1

- uses: oxc-project/[email protected]

- name: Install cargo-llvm-lines
uses: taiki-e/[email protected]
uses: taiki-e/install-action@8c39981484df4e7ba41af8e8e078ac546d5e1b11 # v2.46.8
with:
tool: cargo-llvm-lines

Expand Down
38 changes: 19 additions & 19 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/[email protected]
- uses: taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1.3.1
- uses: oxc-project/[email protected]
with:
# warm cache factory for all other CI jobs
Expand All @@ -51,11 +51,11 @@ jobs:
if: ${{ github.ref_name == 'main' }}
runs-on: windows-latest
steps:
- uses: taiki-e/[email protected]
- uses: taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # 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
- uses: samypr100/setup-dev-drive@v3
- uses: samypr100/setup-dev-drive@d3f2420389ae9ea6e91dd178779e122c42352047 # v3
with:
workspace-copy: true
drive-size: 8GB
Expand All @@ -77,7 +77,7 @@ jobs:
rustup show
git restore .
- uses: Swatinem/rust-cache@v2
- uses: Swatinem/rust-cache@82a92a6e8fbeee089604da2575dc567ae9ddeaab # v2
with:
workspaces: ${{ env.DEV_DRIVE_WORKSPACE }}
save-if: ${{ github.ref_name == 'main' }}
Expand Down Expand Up @@ -106,7 +106,7 @@ 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/[email protected]
- uses: taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1.3.1
- uses: oxc-project/[email protected]
with:
cache-key: wasi
Expand All @@ -120,7 +120,7 @@ jobs:
name: Check wasm32-unknown-unknown
runs-on: ubuntu-latest
steps:
- uses: taiki-e/[email protected]
- uses: taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1.3.1

- uses: oxc-project/[email protected]
with:
Expand All @@ -146,7 +146,7 @@ jobs:
name: Spell Check
runs-on: ubuntu-latest
steps:
- uses: taiki-e/[email protected]
- uses: taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # 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/[email protected]
- uses: taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1.3.1
- uses: oxc-project/[email protected]
with:
save-cache: ${{ github.ref_name == 'main' }}
Expand All @@ -176,7 +176,7 @@ jobs:
name: Doc
runs-on: ubuntu-latest
steps:
- uses: taiki-e/[email protected]
- uses: taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1.3.1
- uses: oxc-project/[email protected]
with:
cache-key: warm
Expand All @@ -187,9 +187,9 @@ jobs:
name: Conformance
runs-on: ubuntu-latest
steps:
- uses: taiki-e/[email protected]
- uses: taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1.3.1

- uses: dorny/paths-filter@v3
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3
id: filter
with:
filters: |
Expand Down Expand Up @@ -234,9 +234,9 @@ jobs:
name: Minification Size
runs-on: ubuntu-latest
steps:
- uses: taiki-e/[email protected]
- uses: taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1.3.1

- uses: dorny/paths-filter@v3
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3
id: filter
with:
filters: |
Expand All @@ -262,9 +262,9 @@ jobs:
name: AST Changes
runs-on: ubuntu-latest
steps:
- uses: taiki-e/[email protected]
- uses: taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1.3.1

- uses: dorny/paths-filter@v3
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3
id: filter
with:
filters: ".github/.generated_ast_watch_list.yml"
Expand All @@ -279,7 +279,7 @@ jobs:

- name: Restore dprint plugin cache
id: cache-restore
uses: actions/cache/restore@v4
uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4
with:
key: dprint-autofix-ci-${{ runner.os }}-${{ hashFiles('dprint.json') }}
path: ~/.cache/dprint
Expand All @@ -294,7 +294,7 @@ jobs:
- name: Save dprint plugin cache
if: ${{ github.ref_name == 'main' }}
id: cache-save
uses: actions/cache/save@v4
uses: actions/cache/save@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4
with:
key: ${{ steps.cache-restore.outputs.cache-primary-key }}
path: ~/.cache/dprint
Expand All @@ -303,8 +303,8 @@ jobs:
name: Test NAPI
runs-on: ubuntu-latest
steps:
- uses: taiki-e/[email protected]
- uses: dorny/paths-filter@v3
- uses: taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1.3.1
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3
id: filter
with:
filters: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci_security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,20 @@ jobs:
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
persist-credentials: false

- name: Install the latest version of uv
uses: astral-sh/setup-uv@v4
uses: astral-sh/setup-uv@38f3f104447c67c051c4a08e39b64a148898af3a # v4

- name: Run zizmor 🌈
run: uvx zizmor --format sarif . > results.sarif
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v3
uses: github/codeql-action/upload-sarif@df409f7d9260372bd5f19e5b04e83cb3c43714ae # v3
with:
sarif_file: results.sarif
category: zizmor
Loading

0 comments on commit 277b851

Please sign in to comment.