Skip to content

Commit 00e14d3

Browse files
authored
Create rust.yml GH action
1 parent 29f7b1d commit 00e14d3

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/rust.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Rust
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v4
18+
- name: Check
19+
run: |
20+
cargo check --verbose
21+
cargo clippy --verbose
22+
- name: Build
23+
run: |
24+
cargo build --verbose
25+
- name: Tests
26+
run: |
27+
cargo test --verbose

0 commit comments

Comments
 (0)