Skip to content

Commit

Permalink
ci: Simplify CI workflow to only run one job
Browse files Browse the repository at this point in the history
  • Loading branch information
fischeti committed Jan 28, 2024
1 parent 20e307d commit c9bf73e
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,13 @@ env:
RUSTFLAGS: "-Dwarnings"

jobs:
clippy_check:
checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run Clippy
run: cargo clippy --all-targets --all-features

format_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run Rustfmt
- name: Run Rustfmt (run `cargo fmt --all` to fix)
run: cargo fmt --all -- --check

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --all-targets --all-features

0 comments on commit c9bf73e

Please sign in to comment.