Skip to content

Commit

Permalink
ci: add check-and-lint workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
koehlma committed Dec 11, 2023
1 parent bd39311 commit 21a16f1
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/check-and-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Check and Lint

on:
push:
pull_request:
workflow_dispatch:

jobs:
check-and-lint:
name: Check and Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Cargo Deny
uses: EmbarkStudios/cargo-deny-action@v1

- name: Clippy
run: cargo clippy --all-targets --all-features

- name: Format
run: cargo +nightly fmt --check

0 comments on commit 21a16f1

Please sign in to comment.