File tree Expand file tree Collapse file tree 3 files changed +34
-2
lines changed Expand file tree Collapse file tree 3 files changed +34
-2
lines changed Original file line number Diff line number Diff line change 1
1
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
2
2
3
3
name : CI
4
- on : push
4
+ on : [ push, pull_request]
5
5
jobs :
6
6
build-and-test :
7
7
name : Build and Test
@@ -33,11 +33,19 @@ jobs:
33
33
args : ${{ matrix.mode }} --verbose
34
34
lint :
35
35
runs-on : ubuntu-latest
36
- name : Lint
36
+ name : Clippy
37
37
steps :
38
38
- uses : actions/checkout@v2
39
39
name : Checkout Repo
40
40
- uses : actions-rs/cargo@v1
41
41
name : Run Clippy
42
42
with :
43
43
command : clippy
44
+ cargo-deny :
45
+ runs-on : ubuntu-latest
46
+ name : Cargo Deny
47
+ steps :
48
+ - uses : actions/checkout@v2
49
+ name : Checkout Repo
50
+ - uses : EmbarkStudios/cargo-deny-action@v1
51
+ name : Run cargo-deny
Original file line number Diff line number Diff line change
1
+ [advisories ]
2
+ db-path = " ~/.cargo/advisory-db"
3
+ db-urls = [" https://github.com/rustsec/advisory-db" ]
4
+ notice = " deny"
5
+ unmaintained = " warn"
6
+ vulnerability = " deny"
7
+ yanked = " deny"
8
+
9
+ [licenses ]
10
+ allow = [" MIT" , " Apache-2.0" ]
11
+ allow-osi-fsf-free = " neither"
12
+ confidence-threshold = 0.8
13
+ default = " deny"
14
+ unlicensed = " deny"
15
+
16
+ [[licenses .exceptions ]]
17
+ allow = [" Unicode-DFS-2016" ]
18
+ name = " unicode-ident"
19
+
20
+ [sources ]
21
+ allow-registry = [" https://github.com/rust-lang/crates.io-index" ]
22
+ unknown-git = " deny"
23
+ unknown-registry = " deny"
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
edition = " 2021"
3
+ license = " MIT OR Apache-2.0"
3
4
name = " envcrypt-test"
4
5
publish = false
5
6
version = " 0.0.0"
You can’t perform that action at this time.
0 commit comments