File tree Expand file tree Collapse file tree 1 file changed +10
-25
lines changed Expand file tree Collapse file tree 1 file changed +10
-25
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 :
@@ -95,28 +105,3 @@ jobs:
95105 - name : Install Rust
96106 run : rustup update stable
97107 - run : cargo clippy --all-features --all-targets
98-
99- fmt :
100- runs-on : ubuntu-latest
101- steps :
102- - uses : actions/checkout@v4
103- - name : Install Rust
104- run : rustup update stable
105- - run : cargo fmt --all --check
106-
107- security_audit :
108- permissions :
109- checks : write
110- contents : read
111- issues : write
112- runs-on : ubuntu-latest
113- steps :
114- - uses : actions/checkout@v4
115- # rustsec/audit-check used to do this automatically
116- - name : Generate Cargo.lock
117- run : cargo generate-lockfile
118- # https://github.com/rustsec/audit-check/issues/2
119- 120- with :
121- token : ${{ secrets.GITHUB_TOKEN }}
122-
You can’t perform that action at this time.
0 commit comments