Skip to content

Commit

Permalink
refactor(clippy): move install script to separate step in job
Browse files Browse the repository at this point in the history
  • Loading branch information
petarvujovic98 committed Jun 18, 2024
1 parent cda71ca commit 32bb754
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/ci-lint.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: CI - Lint

on:
pull_request:
types: [opened, reopened, edited, synchronize]
pull_request:
types: [opened, reopened, edited, synchronize]

env:
CARGO_TERM_COLOR: always
Expand All @@ -17,6 +17,9 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Run install script for all targets
run: make install

- name: Run clippy check for all targets
run: make clippy

Expand All @@ -28,6 +31,5 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: risc0/risc0/.github/actions/[email protected]

- run: make fmt
- name: Run format script for all targets
run: make fmt
1 change: 0 additions & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,4 @@ fmt:
@cargo fmt --all --check

clippy:
./script/install.sh $(TARGET)
CLIPPY=1 ./script/build.sh $(TARGET)

0 comments on commit 32bb754

Please sign in to comment.