Skip to content

Commit

Permalink
format before build
Browse files Browse the repository at this point in the history
  • Loading branch information
noandrea committed Feb 5, 2025
1 parent 80e06d7 commit 260e2a2
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,30 +9,30 @@ permissions:
pull-requests: write

jobs:
build:
name: Build
format:
name: Check Code Formatting
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
rustflags: "-A warnings"
- name: Build
run: cargo build --release
format:
name: Check Code Formatting
components: rustfmt
- name: Check formatting
run: cargo fmt -- --check
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rustfmt
- name: Check formatting
run: cargo fmt -- --check
rustflags: "-A warnings"
- name: Build
run: cargo build --release
test:
name: Test and coverage
runs-on: ubuntu-latest
Expand Down

0 comments on commit 260e2a2

Please sign in to comment.