Skip to content

Commit

Permalink
build: remove invalid common
Browse files Browse the repository at this point in the history
  • Loading branch information
manhunto committed Nov 30, 2024
1 parent aaffa75 commit 24166b1
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,32 +13,33 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- <<: *common-steps
- uses: actions/checkout@v3
- name: Cache setup
uses: Swatinem/rust-cache@v2
- name: Run build
run: cargo build --verbose

test:
runs-on: ubuntu-latest
steps:
- <<: *common-steps
- uses: actions/checkout@v3
- name: Cache setup
uses: Swatinem/rust-cache@v2
- name: Run tests
run: cargo test --verbose

format:
runs-on: ubuntu-latest
steps:
- <<: *common-steps
- uses: actions/checkout@v3
- name: Run format check
run: cargo fmt --check

clippy:
runs-on: ubuntu-latest
steps:
- <<: *common-steps
- uses: actions/checkout@v3
- name: Cache setup
uses: Swatinem/rust-cache@v2
- name: Run clippy
run: cargo clippy

common-steps: &common-steps
- uses: actions/checkout@v3
- name: Cache setup
uses: Swatinem/rust-cache@v2
run: cargo clippy

0 comments on commit 24166b1

Please sign in to comment.