Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
WIP ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
KendallWeihe committed Apr 29, 2024
1 parent 60c1756 commit 1a906f2
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,15 @@ jobs:
run: just setup
- name: Test
run: just test

# lint:
# # ...
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Init Hermit
uses: cashapp/activate-hermit@v1
with:
cache: true
- name: Setup
run: just setup
- name: Build
run: just lint
6 changes: 5 additions & 1 deletion Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ build:
test:
cargo test

# Run linting, look for warnings in the output to correct
# Run linting, look for warnings and/or diffs in the output to correct
lint:
cargo clippy --workspace
cargo fmt -- --check

# Run formatting
fmt:
cargo fmt

0 comments on commit 1a906f2

Please sign in to comment.