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 : ${{ matrix.os }}
31
41
strategy :
63
73
- name : Install Rust
64
74
run : rustup update stable
65
75
- run : cargo clippy --all-features --all-targets
66
-
67
- fmt :
68
- runs-on : ubuntu-latest
69
- steps :
70
- - uses : actions/checkout@v4
71
- - name : Install Rust
72
- run : rustup update stable
73
- - run : cargo fmt --all --check
74
-
75
- security_audit :
76
- permissions :
77
- checks : write
78
- contents : read
79
- issues : write
80
- runs-on : ubuntu-latest
81
- steps :
82
- - uses : actions/checkout@v4
83
- # rustsec/audit-check used to do this automatically
84
- - name : Generate Cargo.lock
85
- run : cargo generate-lockfile
86
- # https://github.com/rustsec/audit-check/issues/2
87
-
88
- with :
89
- token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments