Skip to content

Commit

Permalink
chore: include lint and build checks in main workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sripwoud committed Jul 1, 2024
1 parent 3827baa commit 4ddf291
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,15 @@ concurrency:
cancel-in-progress: true

jobs:
format-lint:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/[email protected]
- run: make build

format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -21,6 +29,16 @@ jobs:
tool: dprint
- run: make check

lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- uses: Swatinem/[email protected]
- run: make lint

test:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 4ddf291

Please sign in to comment.