Skip to content

Commit

Permalink
Update CI file
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurenzV committed Jun 1, 2024
1 parent 47e70b6 commit b0d05b5
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ name: Continuous integration
on: [push, pull_request]

jobs:
ci:
tests:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -17,3 +18,15 @@ jobs:
name: Build
- run: cargo test --release
name: Run tests

checks:
name: Check clippy, formatting, and documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- uses: taiki-e/install-action@cargo-hack
- run: cargo clippy --all-targets
- run: cargo fmt --check --all
- run: cargo doc --workspace --no-deps

0 comments on commit b0d05b5

Please sign in to comment.