[object Object]

← back to Exo

Chore: Tweak CI

b758df83cf876126d399c4aa62a881006a60f519 · 2025-06-30 22:41:33 +0100 · Arbion Halili

Files touched

Diff

commit b758df83cf876126d399c4aa62a881006a60f519
Author: Arbion Halili <99731180+ToxicPine@users.noreply.github.com>
Date:   Mon Jun 30 22:41:33 2025 +0100

    Chore: Tweak CI
---
 .github/actions/lint-check/action.yml | 10 ++++++++++
 .github/workflows/pipeline.yml        | 14 +-------------
 justfile                              |  3 +++
 3 files changed, 14 insertions(+), 13 deletions(-)

diff --git a/.github/actions/lint-check/action.yml b/.github/actions/lint-check/action.yml
new file mode 100644
index 00000000..f666cae9
--- /dev/null
+++ b/.github/actions/lint-check/action.yml
@@ -0,0 +1,10 @@
+name: Lint Check
+
+description: "Check for lint errors"
+
+runs:
+  using: "composite"
+  steps:
+    - name: Lint check
+      run: nix develop -c just lint-check
+      shell: bash
diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml
index 7b30d287..e2834848 100644
--- a/.github/workflows/pipeline.yml
+++ b/.github/workflows/pipeline.yml
@@ -50,20 +50,8 @@ jobs:
         with:
           github_access_token: ${{ secrets.GITHUB_TOKEN }}
 
-      - uses: ./.github/actions/regenerate-protobufs
-
       - uses: ./.github/actions/verify-clean
         with:
           step: regenerate-protobufs
 
-      - uses: ./.github/actions/format
-
-      - uses: ./.github/actions/verify-clean
-        with:
-          step: format
-
-      - uses: ./.github/actions/lint
-
-      - uses: ./.github/actions/verify-clean
-        with:
-          step: lint
+      - uses: ./.github/actions/lint-check
\ No newline at end of file
diff --git a/justfile b/justfile
index f86e0734..fdffc979 100644
--- a/justfile
+++ b/justfile
@@ -13,6 +13,9 @@ fmt:
 lint:
     uv run ruff check --fix master worker shared engines/*
 
+lint-check:
+    uv run ruff check master worker shared engines/*
+
 test:
     uv run pytest master worker shared engines/*
 

← 133ab70d chore: Run formatter  ·  back to Exo  ·  refactor: Use enums 53d5d238 →