chore: Setup workflows
CI / cargo fmt (push) Successful in 1m4s
CI / cargo clippy (push) Failing after 1m32s

This commit is contained in:
2026-04-03 04:30:13 +02:00
parent a9e6a79220
commit 15126efc40
2 changed files with 58 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
name: CI
on:
push:
branches:
- "*"
tags:
- "*"
jobs:
formatting:
name: cargo fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt
- run: cargo fmt --all --check
clippy:
name: cargo clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@nightly
with:
components: clippy
- run: cargo clippy --workspace --all-features
check:
name: cargo clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@nightly
with:
components: clippy
- run: cargo check --workspace --all-features