File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ * @ rjzak
Original file line number Diff line number Diff line change 1+ name : DCO Check
2+ on : [pull_request]
3+ permissions : read-all
4+ jobs :
5+ dco :
6+ runs-on : ubuntu-latest
7+ steps :
8+ - name : Harden Runner
9+ uses : step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4
10+ with :
11+ disable-sudo : true
12+ egress-policy : block
13+ allowed-endpoints : >
14+ api.github.com:443
15+ github.com:443
16+ githubapp.com:443
17+
18+ - uses : tisonkun/actions-dco@f1024cd563550b5632e754df11b7d30b73be54a5 # v1.1
Original file line number Diff line number Diff line change 1+ name : Lint
2+ on : [pull_request, push]
3+ permissions :
4+ contents : read
5+ jobs :
6+ build_clippy_fmt_test :
7+ name : Cargo clippy, fmt, test
8+ runs-on : ubuntu-latest
9+ steps :
10+ - name : Harden Runner
11+ uses : step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4
12+ with :
13+ egress-policy : block
14+ disable-sudo : true
15+ allowed-endpoints : >
16+ archive.ubuntu.com:443
17+ azure.archive.ubuntu.com:80
18+ crates.io:443
19+ esm.ubuntu.com:443
20+ github.com:443
21+ githubapp.com:443
22+ index.crates.io:443
23+ motd.ubuntu.com:443
24+ objects.githubusercontent.com:443
25+ ppa.launchpadcontent.net:443
26+ release-assets.githubusercontent.com:443
27+ security.ubuntu.com:443
28+ static.crates.io:443
29+ static.rust-lang.org:443
30+
31+ - uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
32+ - name : cargo fmt
33+ run : cargo fmt --all -- --check
34+ - name : build everything
35+ run : cargo build --all-features
36+ - name : cargo clippy
37+ run : cargo clippy --all-features --tests -- -D warnings
38+
39+ check-spdx-headers :
40+ runs-on : ubuntu-latest
41+ steps :
42+ - name : Harden Runner
43+ uses : step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4
44+ with :
45+ disable-sudo : true
46+ egress-policy : block
47+ allowed-endpoints : >
48+ api.github.com:443
49+ - uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
50+ - uses : enarx/spdx@b5bfdd4410071bf058c8333d0e70020001524b6b # master
51+ with :
52+ licenses : Apache-2.0
Original file line number Diff line number Diff line change 1+ [toolchain ]
2+ channel = " stable"
3+ profile = " minimal"
4+ components = [" rustfmt" , " clippy" ]
You can’t perform that action at this time.
0 commit comments