Skip to content

Commit 37a41fa

Browse files
committed
Add Rust workflow to GitHub (downstream)
1 parent d42befa commit 37a41fa

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/rust.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Rust
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
7+
env:
8+
CARGO_TERM_COLOR: always
9+
10+
jobs:
11+
build:
12+
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v4
17+
- name: Build
18+
run: cargo build --verbose
19+
- name: Run tests
20+
run: cargo test --verbose
21+
- name: Run CLI
22+
run: cargo run -- '1+2' '1+x*3' '(x+4) * 2' '(x*x - 10)/3' 'yy'

0 commit comments

Comments
 (0)