Skip to content

Commit 8379249

Browse files
committed
Add required check step
Fixes #15
1 parent f323bf4 commit 8379249

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/build.yml

+19
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,26 @@ on:
44
push:
55

66
jobs:
7+
check:
8+
name: Check
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
13+
- name: Install Rust
14+
uses: actions-rs/toolchain@v1
15+
with:
16+
toolchain: stable
17+
override: true
18+
19+
- name: Cache Rust dependencies
20+
uses: Swatinem/rust-cache@v2
21+
22+
- name: Run cargo check
23+
run: cargo check
24+
725
build:
26+
needs: check
827
name: Build on ${{ matrix.os }} for ${{ matrix.target }}
928
runs-on: ${{ matrix.os }}
1029
strategy:

0 commit comments

Comments
 (0)