Skip to content

Commit

Permalink
chore: add format-lint-test workflow (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
nanderstabel authored Apr 11, 2024
1 parent 928d68d commit 9b3b324
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 9b3b324

Please sign in to comment.