Skip to content

Commit

Permalink
Add CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
SkyfallWasTaken committed Jul 15, 2024
1 parent 24c2634 commit b593a5a
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 694 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Check Vortex backend

on:
push:
branches:
- master

jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable

- name: Use Rust cache
uses: Swatinem/rust-cache@v2

- name: Install tools
uses: taiki-e/install-action@v2
with:
tool: cargo-nextest,cargo-machete

- name: Run cargo build
run: cargo build

- name: Run cargo nextest
run: cargo nextest run

- name: Run cargo machete
run: cargo machete

- name: Check formatting
run: cargo fmt --check
Loading

0 comments on commit b593a5a

Please sign in to comment.