Skip to content

Commit

Permalink
ci(GH-160): add formatting check job
Browse files Browse the repository at this point in the history
  • Loading branch information
JarvisCraft committed May 10, 2024
1 parent 4618c96 commit 8cfcd57
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/clippy_check.yml → .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
on: [ push, pull_request ]
name: Clippy check
name: Checks
on: [ pull_request ]
jobs:
clippy_check:
lints:
name: Lints
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.4
Expand All @@ -11,3 +12,11 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
permissions:
checks: write
formatting:
name: Formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.4
- uses: actions-rust-lang/setup-rust-toolchain@v1.8.0
- uses: actions-rust-lang/rustfmt@v1.1.0

2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: Release
on: [ push ]
jobs:
test:
Expand Down

0 comments on commit 8cfcd57

Please sign in to comment.