Skip to content

Commit e91622e

Browse files
Create rust.yml
1 parent f535601 commit e91622e

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/rust.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Rust
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- uses: actions-rs/cargo@v1
11+
with:
12+
command: build
13+
args: --all-features
14+
toolchain: stable
15+
target: x86_64-unknown-linux-gnu
16+
- uses: actions-rs/cargo@v1
17+
with:
18+
command: test
19+
args: --all-features
20+
toolchain: stable
21+
target: x86_64-unknown-linux-gnu

0 commit comments

Comments
 (0)