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.
2 parents 3563130 + 1e4bd0f commit 540e81eCopy full SHA for 540e81e
.github/workflows/ci.yml
@@ -20,11 +20,28 @@ jobs:
20
with:
21
fetch-depth: 1
22
23
+ - name: Install toolchain
24
+ uses: actions-rs/toolchain@v1
25
+ with:
26
+ toolchain: 1.70.0
27
+ override: true
28
+ components: rustfmt, clippy
29
+
30
+ - uses: Swatinem/rust-cache@v2
31
32
+ key: linux
33
34
+ - name: Run unit tests
35
+ run: cargo test --all
36
37
+ - name: Lint check
38
+ run: cargo clippy --all -- -D warnings
39
40
- name: Formatting check
41
run: cargo fmt --all -- --check
42
43
- uses: docker/setup-buildx-action@v2
- - name: Build and push
44
+ - name: Build Docker image
45
uses: docker/build-push-action@v4
46
47
context: .
0 commit comments