Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 15 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and test
name: Run CI tests

on:
push:
Expand All @@ -8,18 +8,29 @@ on:

env:
CARGO_TERM_COLOR: always
RUSTFLAGS: "-Dwarnings"

jobs:
build-and-test:

format_and_lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Update toolchain
run: rustup update
- name: Format
run: cargo fmt --all --check
- name: Clippy
run: cargo clippy --all-targets --all-features

build_and_test:
needs: format_and_lint
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v6
- name: Update toolchain
run: rustup update
- name: Build
run: cargo build --verbose
- name: Run tests
Expand Down