Skip to content
Merged
Show file tree
Hide file tree
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
46 changes: 46 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Continuous Integration

on:
pull_request:
branches:
- main
push:
branches:
- main

permissions:
contents: read

jobs:
check:
name: Lint, Format, Compile and Test
runs-on: ubuntu-latest

steps:
- name: Checkout
id: checkout
uses: actions/checkout@v5

- name: Setup Rust
id: setup-rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
components: rustfmt, clippy

- name: Install Dependencies & Build
id: cargo-build
run: cargo build --workspace --all-targets

- name: Check Format
id: cargo-format-check
run: cargo fmt -- --check

- name: Lint
id: cargo-lint
run: cargo clippy -- -D warnings

- name: Test
id: cargo-test
run: cargo test --workspace --all-targets
199 changes: 26 additions & 173 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading