Skip to content

Commit

Permalink
fix: fix lint build
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Dec 5, 2021
1 parent 46c4b96 commit 4efbafc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
pull_request:
branches: [master]
push:
branches: [staging, trying]
branches: [master]
concurrency:
group: lint-${{ github.ref }}
cancel-in-progress: true
Expand All @@ -26,17 +26,17 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Clippy for almost no features
- name: Clippy for all features
uses: actions-rs/cargo@v1
with:
command: clippy
args: --no-default-features --features "std cargo"
args: -- -D warnings

- name: Clippy for all features
- name: Clippy for tests
uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings
args: --tests

- name: Format check
uses: actions-rs/cargo@v1
Expand Down

0 comments on commit 4efbafc

Please sign in to comment.