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:
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 : ubuntu-latest
31
41
strategy :
88
98
run : rustup update stable
89
99
- run : cargo clippy --all --all-features --all-targets
90
100
91
- fmt :
92
- runs-on : ubuntu-latest
93
- steps :
94
- - uses : actions/checkout@v4
95
- - name : Install Rust
96
- run : rustup update stable
97
- - run : cargo fmt --all --check
98
-
99
101
miri :
100
102
runs-on : ubuntu-latest
101
103
steps :
@@ -107,19 +109,3 @@ jobs:
107
109
echo "RUSTFLAGS=${RUSTFLAGS} -Z randomize-layout" >>"${GITHUB_ENV}"
108
110
- run : cargo miri test --all
109
111
- run : cargo miri test --no-default-features --tests
110
-
111
- security_audit :
112
- permissions :
113
- checks : write
114
- contents : read
115
- issues : write
116
- runs-on : ubuntu-latest
117
- steps :
118
- - uses : actions/checkout@v4
119
- # rustsec/audit-check used to do this automatically
120
- - name : Generate Cargo.lock
121
- run : cargo generate-lockfile
122
- # https://github.com/rustsec/audit-check/issues/2
123
- - uses : rustsec/audit-check@v2.0.0
124
- with :
125
- token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments