Skip to content

Commit c6f1481

Browse files
committed
[ feat ]: CI workflows 🌊
1 parent 80c97af commit c6f1481

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

‎.github/workflows/rust.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Rust
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
12+
jobs:
13+
build:
14+
15+
runs-on: ubuntu-latest
16+
strategy:
17+
matrix:
18+
toolchain:
19+
- stable
20+
- beta
21+
- nightly
22+
23+
steps:
24+
- uses: actions/checkout@v3
25+
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
26+
- name: Build
27+
run: cargo build --verbose
28+
- name: Run tests
29+
run: cargo test --verbose

0 commit comments

Comments
 (0)