Skip to content

Commit

Permalink
ci: ⚙️ Add linter to GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ddanier committed Mar 10, 2024
1 parent 8598628 commit 9caa636
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Run linter

on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true

- name: Run Linter
run: cargo clippy
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Rust Test with Coverage
name: Run tests

on: [push, pull_request]

Expand Down

0 comments on commit 9caa636

Please sign in to comment.