File tree Expand file tree Collapse file tree 1 file changed +10
-24
lines changed Expand file tree Collapse file tree 1 file changed +10
-24
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,16 @@ defaults:
2626 shell : bash
2727
2828jobs :
29+ fmt :
30+ uses : smol-rs/.github/.github/workflows/fmt.yml@main
31+ security_audit :
32+ uses : smol-rs/.github/.github/workflows/security_audit.yml@main
33+ permissions :
34+ checks : write
35+ contents : read
36+ issues : write
37+ secrets : inherit
38+
2939 test :
3040 runs-on : ${{ matrix.os }}
3141 strategy :
6676 - name : Install Rust
6777 run : rustup update stable
6878 - run : cargo clippy --all-features --all-targets
69-
70- fmt :
71- runs-on : ubuntu-latest
72- steps :
73- - uses : actions/checkout@v4
74- - name : Install Rust
75- run : rustup update stable
76- - run : cargo fmt --all --check
77-
78- security_audit :
79- permissions :
80- checks : write
81- contents : read
82- issues : write
83- runs-on : ubuntu-latest
84- steps :
85- - uses : actions/checkout@v4
86- # rustsec/audit-check used to do this automatically
87- - name : Generate Cargo.lock
88- run : cargo generate-lockfile
89- # https://github.com/rustsec/audit-check/issues/2
90- - uses : rustsec/audit-check@v2.0.0
91- with :
92- token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments