Skip to content

Commit 7ce831a

Browse files
committed
ci: added build check script
1 parent 06ad267 commit 7ce831a

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/build-code.yaml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: "Build Rust code 🦀"
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: "Checkout"
10+
uses: actions/checkout@v2
11+
- name: "Install Rust"
12+
uses: actions-rs/toolchain@v1
13+
with:
14+
toolchain: stable
15+
override: true
16+
- name: Run cargo check
17+
uses: actions-rs/cargo@v1
18+
with:
19+
command: check

0 commit comments

Comments
 (0)