We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80c97af commit c6f1481Copy full SHA for c6f1481
‎.github/workflows/rust.yml
@@ -0,0 +1,29 @@
1
+name: Rust
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
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