chore(deps): update github-actions #26
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Copilot Setup Steps | |
| # This workflow defines the setup steps that GitHub Copilot agents will use | |
| # to prepare the development environment for the oxc project. | |
| # It preinstalls tools and dependencies needed for Rust and Node.js development. | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| types: [opened, synchronize] | |
| paths: | |
| - .github/workflows/copilot-setup-steps.yml | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - .github/workflows/copilot-setup-steps.yml | |
| permissions: {} | |
| jobs: | |
| copilot-setup-steps: | |
| name: Setup Development Environment for Copilot | |
| runs-on: ubuntu-latest | |
| steps: | |
| # Checkout full repo for git history. | |
| - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1 | |
| with: | |
| persist-credentials: false | |
| - uses: oxc-project/setup-rust@eb5c2bf64ce11cc9557c576d6766c164d064fdb7 # v1.0.10 | |
| with: | |
| cache-key: warm | |
| save-cache: false | |
| tools: just,watchexec-cli,cargo-insta,typos-cli,cargo-shear,dprint | |
| components: clippy rust-docs rustfmt | |
| - uses: oxc-project/setup-node@141eb77546de6702f92d320926403fe3f9f6a6f2 # v1.0.5 | |
| - uses: ./.github/actions/pnpm | |
| - name: Restore dprint plugin cache | |
| id: cache-restore | |
| uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 | |
| with: | |
| key: dprint-${{ hashFiles('dprint.json') }} | |
| path: ~/.cache/dprint |