From 1a906f23e6b6968e05a166dab1b0c3240f6983f8 Mon Sep 17 00:00:00 2001 From: Kendall Weihe Date: Mon, 29 Apr 2024 09:32:51 -0400 Subject: [PATCH] WIP ci.yml --- .github/workflows/ci.yml | 15 ++++++++++++--- Justfile | 6 +++++- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 632f2bdd..8e5b0f22 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/Justfile b/Justfile index 569590b6..e33f1f5e 100644 --- a/Justfile +++ b/Justfile @@ -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 \ No newline at end of file