Skip to content

Commit

Permalink
ci: clippy and documentation build
Browse files Browse the repository at this point in the history
  • Loading branch information
llenotre committed Jul 1, 2024
1 parent b10100c commit d33564d
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
name: Check
on: push
jobs:
clippy:
runs-on: [self-hosted, linux]
steps:
- uses: actions/checkout@v4
- name: Clippy
run: cargo clippy --all-features --all-targets
build:
runs-on: [self-hosted, linux]
needs: clippy
steps:
- uses: actions/checkout@v3
- name: Debug
run: cargo build
- name: Release
Expand All @@ -13,11 +19,17 @@ jobs:
runs-on: [self-hosted, linux]
needs: build
steps:
- uses: actions/checkout@v3
- name: Test
run: cargo test
format:
runs-on: [self-hosted, linux]
needs: clippy
steps:
- name: Check format
run: cargo fmt --check
documentation:
runs-on: [self-hosted, linux]
needs: clippy
steps:
- uses: actions/checkout@v3
- run: cargo fmt --check
- name: Build documentation
run: cargo doc

0 comments on commit d33564d

Please sign in to comment.