File tree 1 file changed +10
-24
lines changed
1 file changed +10
-24
lines changed Original file line number Diff line number Diff line change 13
13
RUST_BACKTRACE : 1
14
14
15
15
jobs :
16
+ fmt :
17
+ uses : smol-rs/.github/.github/workflows/fmt.yml@main
18
+ security_audit :
19
+ uses : smol-rs/.github/.github/workflows/security_audit.yml@main
20
+ permissions :
21
+ checks : write
22
+ contents : read
23
+ issues : write
24
+ secrets : inherit
25
+
16
26
test :
17
27
runs-on : ${{ matrix.os }}
18
28
strategy :
53
63
- name : Install Rust
54
64
run : rustup update stable
55
65
- run : cargo clippy --all-features --all-targets
56
-
57
- fmt :
58
- runs-on : ubuntu-latest
59
- steps :
60
- - uses : actions/checkout@v4
61
- - name : Install Rust
62
- run : rustup update stable
63
- - run : cargo fmt --all --check
64
-
65
- security_audit :
66
- permissions :
67
- checks : write
68
- contents : read
69
- issues : write
70
- runs-on : ubuntu-latest
71
- steps :
72
- - uses : actions/checkout@v4
73
- # rustsec/audit-check used to do this automatically
74
- - name : Generate Cargo.lock
75
- run : cargo generate-lockfile
76
- # https://github.com/rustsec/audit-check/issues/2
77
- - uses : rustsec/audit-check@v2.0.0
78
- with :
79
- token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments