Skip to content

Commit

Permalink
Merge pull request #10 from SorenHolstHansen/ci-test
Browse files Browse the repository at this point in the history
test ci
  • Loading branch information
SorenHolstHansen authored Feb 4, 2024
2 parents 37fbec7 + 4487d4c commit 09fd278
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions .github/workflows/general.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,16 @@ name: General CI
on:
pull_request:
jobs:
fmt:
name: Rustfmt
linting:
name: linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt
- name: Enforce formatting
components: rustfmt, clippy
- name: fmt
run: cargo fmt --check

clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@nightly
with:
components: clippy
- name: Lint server
- name: clippy
run: cargo clippy -- -D warnings

0 comments on commit 09fd278

Please sign in to comment.