Skip to content

Commit

Permalink
ci: Enable code linting in CI
Browse files Browse the repository at this point in the history
Co-authored-by: Philipp Caspers <[email protected]>
  • Loading branch information
AiyionPrime and philipp-caspers committed Jun 14, 2024
1 parent 6d73393 commit b46d81d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ env:
jobs:
format_code:
uses: ./.github/workflows/ci_format_code.yml
lint_code:
uses: ./.github/workflows/ci_lint.yml
11 changes: 11 additions & 0 deletions .github/workflows/ci_lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: CI Lint
'on':
workflow_call: null
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout (GitHub)
uses: actions/checkout@v4
- name: Cargo Clippy
run: cargo clippy --all-targets --all-features -- -Dwarnings

0 comments on commit b46d81d

Please sign in to comment.