Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
Signed-off-by: ozkanonur <[email protected]>
  • Loading branch information
onur-ozkan committed Mar 8, 2023
1 parent 0fdae59 commit 55358c5
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/check_fmt_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ on:
- dev

jobs:
check:
timeout-minutes: 7
fmt:
timeout-minutes: 15
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand All @@ -24,13 +24,15 @@ jobs:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
components: rustfmt
- uses: actions-rs/cargo@v1
with:
command: check
command: fmt
args: --all -- --check

fmt:
needs: check
timeout-minutes: 7
check:
needs: fmt
timeout-minutes: 15
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand All @@ -43,15 +45,13 @@ jobs:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
components: rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
command: check

lint:
needs: fmt
timeout-minutes: 7
timeout-minutes: 15
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand Down

0 comments on commit 55358c5

Please sign in to comment.