We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 660fdef + 3498c82 commit a6ee854Copy full SHA for a6ee854
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,29 @@
1
+name: Rust
2
+
3
+on:
4
+ push:
5
+ branches: [ "master" ]
6
+ pull_request:
7
8
9
+env:
10
+ CARGO_TERM_COLOR: always
11
12
+jobs:
13
+ build:
14
15
+ runs-on: ubuntu-latest
16
17
+ steps:
18
+ - uses: actions/checkout@v4
19
+ - name: Install Rust Toolchain
20
+ uses: actions-rs/toolchain@v1 # Or actions-rust-lang/setup-rust-toolchain@v1
21
+ with:
22
+ toolchain: stable # Use 'stable' to get the latest stable Rust
23
+ profile: minimal
24
+ override: true
25
26
+ - name: Build
27
+ run: cargo build --verbose
28
+ - name: Run tests
29
+ run: cargo test --verbose
0 commit comments