We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45b5da6 commit 2d5a3c4Copy full SHA for 2d5a3c4
.github/workflows/release.yml
@@ -4,11 +4,36 @@ on:
4
release:
5
types: [published]
6
7
+permissions:
8
+ contents: write
9
+
10
env:
11
CARGO_TERM_COLOR: always
12
13
jobs:
14
+ fmt:
15
+ name: Formatting
16
+ runs-on: ubuntu-latest
17
+ steps:
18
+ - uses: actions/checkout@v4
19
+ - uses: dtolnay/rust-toolchain@stable
20
+ with:
21
+ components: rustfmt
22
+ - run: cargo fmt --check
23
24
+ clippy:
25
+ name: Clippy
26
27
28
29
30
31
+ components: clippy
32
+ - uses: Swatinem/rust-cache@v2
33
+ - run: cargo clippy -- -D warnings
34
35
build:
36
+ needs: [fmt, clippy]
37
name: Build (${{ matrix.os }})
38
runs-on: ${{ matrix.os }}
39
strategy:
0 commit comments