We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 809bdb5 commit e65560bCopy full SHA for e65560b
.github/workflows/build_and_test.yml
@@ -20,21 +20,24 @@ jobs:
20
cargo fmt -- --check || (echo "Please reformat your code with 'cargo
21
fmt' (version $(cargo fmt --version))"; false)
22
23
- build:
+ tests:
24
runs-on: ubuntu-latest
25
26
steps:
27
- uses: actions/checkout@v2
28
- - name: Build
+ - name: Unit tests
29
run: |
30
- cargo build
+ cargo test
31
32
- tests:
+ build:
33
34
- needs: build
+ needs: [lint, tests]
35
36
37
38
- - name: Unit tests
+ - name: Check
39
40
- cargo test
+ cargo check
41
+ - name: Build
42
+ run: |
43
+ cargo build
0 commit comments