Skip to content

Commit

Permalink
order ci jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
kayhhh committed Nov 14, 2023
1 parent 168fefd commit c59d33b
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,6 @@ on:
pull_request:

jobs:
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
- run: cargo fmt --all
- uses: EndBug/add-and-commit@v9
with:
message: "chore: format"
default_author: github_actions

check:
runs-on: ubuntu-latest
steps:
Expand All @@ -33,3 +22,14 @@ jobs:
with:
message: "chore: lint"
default_author: github_actions
fmt:
needs: check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
- run: cargo fmt --all
- uses: EndBug/add-and-commit@v9
with:
message: "chore: format"
default_author: github_actions

0 comments on commit c59d33b

Please sign in to comment.