Skip to content

Commit

Permalink
ci: Start linting both code and some support files (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-stopka authored Jan 26, 2022
1 parent bfeeb7a commit 50fdb12
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ jobs:
command: test
args: --all-features

lints:
name: Lints
lints-rust:
name: Lint Rust
runs-on: ubuntu-latest
steps:
- name: Checkout sources
Expand All @@ -80,7 +80,21 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings
args: --all-features -- -D warnings

lints-others:
name: Lint Support Files
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2

- name: Check EditorConfig Compliance
uses: editorconfig-checker/action-editorconfig-checker@v1

lints:
name: Lint Rust & Support Files
runs-on: ubuntu-latest
needs: [lints-rust, lints-others]
steps:
- run: echo "All lints successful"

0 comments on commit 50fdb12

Please sign in to comment.