Skip to content

Commit

Permalink
Fix CI YAML.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cerclique committed Jul 22, 2024
1 parent a90a2b8 commit e750e0d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,22 @@ env:

jobs:
formatting:
name: Check formatting
name: Format
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4

- name: Install stable toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rustfmt

- name: Rustfmt check
uses: actions-rust-lang/rustfmt@v1

build:
name: Check build
name: Build
needs: formatting
runs-on: ubuntu-latest
steps:
Expand All @@ -32,7 +36,7 @@ jobs:
run: cargo check --release

test:
name: Check tests
name: Test
needs: build
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit e750e0d

Please sign in to comment.