fix: route Windows .cmd shims through PowerShell to fix Ctrl+C terminal corruption
#243
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: Cargo Deny | |
| permissions: {} | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| types: [opened, synchronize] | |
| paths: | |
| - 'Cargo.lock' | |
| - 'deny.toml' | |
| - '.github/workflows/deny.yml' | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - 'Cargo.lock' | |
| - 'deny.toml' | |
| - '.github/workflows/deny.yml' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} | |
| cancel-in-progress: ${{ github.ref_name != 'main' }} | |
| jobs: | |
| deny: | |
| name: Cargo Deny | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| persist-credentials: false | |
| - name: Output rolldown hash | |
| id: upstream-versions | |
| run: node -e "console.log('ROLLDOWN_HASH=' + require('./packages/tools/.upstream-versions.json').rolldown.hash)" >> $GITHUB_OUTPUT | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| repository: rolldown/rolldown | |
| path: rolldown | |
| ref: ${{ steps.upstream-versions.outputs.ROLLDOWN_HASH }} | |
| - uses: oxc-project/setup-rust@23f38cfb0c04af97a055f76acee94d5be71c7c82 # v1.0.16 | |
| with: | |
| restore-cache: false | |
| # Pinned to 0.18.6+ for CVSS 4.0 support (EmbarkStudios/cargo-deny#805) | |
| tools: cargo-deny@0.19.0 | |
| - run: cargo deny check |