Skip to content

fix(linter): rule no-restricted-imports support missing options #181

fix(linter): rule no-restricted-imports support missing options

fix(linter): rule no-restricted-imports support missing options #181

Workflow file for this run

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/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1.3.1
- uses: oxc-project/setup-rust@cd82e1efec7fef815e2c23d296756f31c7cdc03d # v1.0.0
with:
restore-cache: false
tools: cargo-deny
- run: cargo deny check