sinoptik/.forgejo/workflows/check-lint-test.yml
Paul van Tilburg 70b59022e7
All checks were successful
Check, lint and test / Check, lint and test (push) Successful in 1m34s
Fix syntax errors in the check-lint-test workflow
2024-07-27 15:41:27 +02:00

28 lines
540 B
YAML

name: "Check, lint and test"
on:
pull_request:
push:
branches:
- main
workflow_dispatch:
jobs:
check_lint:
name: Check, lint and test
runs-on: rust-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Run cargo check
run: cargo check --all-features
- name: Run cargo clippy
run: cargo clippy -- -D warnings
- name: Run cargo fmt
run: cargo fmt --all -- --check
- name: Run cargo test
run: cargo test --all-features