Skip to content

Commit

Permalink
ci: add basic quality assertions (format, lint and test) (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-mader authored Mar 26, 2024
1 parent 96df010 commit 53e9314
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/format-lint-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Format, Lint, Test

on:
push:
branches: ["dev"]
pull_request:
branches: ["dev"]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: dtolnay/rust-toolchain@stable

- name: Format
run: cargo fmt --all -- --check

- name: Lint
run: cargo clippy --all-targets --all-features -- -D warnings

- name: Test
run: cargo test --workspace

0 comments on commit 53e9314

Please sign in to comment.