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 :
65
75
run : rustup update stable
66
76
- run : cargo clippy --all-features --all-targets
67
77
68
- fmt :
69
- runs-on : ubuntu-latest
70
- steps :
71
- - uses : actions/checkout@v4
72
- - name : Install Rust
73
- run : rustup update stable
74
- - run : cargo fmt --all --check
75
-
76
78
miri :
77
79
runs-on : ubuntu-latest
78
80
steps :
87
89
env :
88
90
MIRIFLAGS : -Zmiri-strict-provenance -Zmiri-symbolic-alignment-check -Zmiri-disable-isolation -Zmiri-ignore-leaks
89
91
RUSTFLAGS : ${{ env.RUSTFLAGS }} -Z randomize-layout
90
-
91
- security_audit :
92
- permissions :
93
- checks : write
94
- contents : read
95
- issues : write
96
- runs-on : ubuntu-latest
97
- steps :
98
- - uses : actions/checkout@v4
99
- # rustsec/audit-check used to do this automatically
100
- - name : Generate Cargo.lock
101
- run : cargo generate-lockfile
102
- # https://github.com/rustsec/audit-check/issues/2
103
-
104
- with :
105
- token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments