-
Notifications
You must be signed in to change notification settings - Fork 168
40 lines (34 loc) · 904 Bytes
/
deny.yml
File metadata and controls
40 lines (34 loc) · 904 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
persist-credentials: false
submodules: true
- uses: oxc-project/setup-rust@23f38cfb0c04af97a055f76acee94d5be71c7c82 # v1.0.16
with:
restore-cache: false
tools: cargo-deny
- run: cargo deny check