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 @@ -26,6 +26,16 @@ defaults:
26
26
shell : bash
27
27
28
28
jobs :
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
+
29
39
test :
30
40
runs-on : ${{ matrix.os }}
31
41
strategy :
@@ -124,27 +134,3 @@ jobs:
124
134
- name : Install Rust
125
135
run : rustup update stable
126
136
- run : cargo clippy --all-features --all-targets
127
-
128
- fmt :
129
- runs-on : ubuntu-latest
130
- steps :
131
- - uses : actions/checkout@v4
132
- - name : Install Rust
133
- run : rustup update stable
134
- - run : cargo fmt --all --check
135
-
136
- security_audit :
137
- permissions :
138
- checks : write
139
- contents : read
140
- issues : write
141
- runs-on : ubuntu-latest
142
- steps :
143
- - uses : actions/checkout@v4
144
- # rustsec/audit-check used to do this automatically
145
- - name : Generate Cargo.lock
146
- run : cargo generate-lockfile
147
- # https://github.com/rustsec/audit-check/issues/2
148
-
149
- with :
150
- token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments