Skip to content

Commit b593a5a

Browse files
Add CI workflow
1 parent 24c2634 commit b593a5a

File tree

3 files changed

+42
-694
lines changed

3 files changed

+42
-694
lines changed

.github/workflows/rust.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Check Vortex backend
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
run:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v4
14+
15+
- name: Install Rust toolchain
16+
uses: dtolnay/rust-toolchain@stable
17+
18+
- name: Use Rust cache
19+
uses: Swatinem/rust-cache@v2
20+
21+
- name: Install tools
22+
uses: taiki-e/install-action@v2
23+
with:
24+
tool: cargo-nextest,cargo-machete
25+
26+
- name: Run cargo build
27+
run: cargo build
28+
29+
- name: Run cargo nextest
30+
run: cargo nextest run
31+
32+
- name: Run cargo machete
33+
run: cargo machete
34+
35+
- name: Check formatting
36+
run: cargo fmt --check

0 commit comments

Comments
 (0)