ci: pin github action versions (#7826) #111
This file contains 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 | |
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: taiki-e/[email protected] | |
- uses: oxc-project/[email protected] | |
with: | |
restore-cache: false | |
tools: cargo-deny | |
- run: cargo deny check |