[object Object]

← back to Exo

Refactor CI

d8459358cf1fa4789cdf866a5acc6606fb589447 · 2025-06-28 14:42:53 +0100 · Arbion Halili

Files touched

Diff

commit d8459358cf1fa4789cdf866a5acc6606fb589447
Author: Arbion Halili <99731180+ToxicPine@users.noreply.github.com>
Date:   Sat Jun 28 14:42:53 2025 +0100

    Refactor CI
---
 .github/actions/conditional-commit/conditional-commit.yml | 2 +-
 .github/actions/format/action.yml                         | 4 ++--
 .github/actions/lint/action.yml                           | 4 ++--
 .github/actions/regenerate-protobufs/action.yml           | 2 +-
 .github/actions/setup-python-uv/action.yml                | 4 ++--
 .github/actions/typecheck/action.yml                      | 4 ++--
 .github/workflows/pipeline.yml                            | 7 ++-----
 7 files changed, 12 insertions(+), 15 deletions(-)

diff --git a/.github/actions/conditional-commit/conditional-commit.yml b/.github/actions/conditional-commit/conditional-commit.yml
index 43c31c61..5d18fbf6 100644
--- a/.github/actions/conditional-commit/conditional-commit.yml
+++ b/.github/actions/conditional-commit/conditional-commit.yml
@@ -13,4 +13,4 @@ runs:
       shell: bash
       run: |
         git diff --quiet && exit 0
-        git commit -am "${{ inputs.message }}"
\ No newline at end of file
+        git commit -am "${{ inputs.message }}"
diff --git a/.github/actions/format/action.yml b/.github/actions/format/action.yml
index aec7bb98..1b43e9c4 100644
--- a/.github/actions/format/action.yml
+++ b/.github/actions/format/action.yml
@@ -6,5 +6,5 @@ runs:
   using: "composite"
   steps:
     - name: Format code
-      run: uv run poe fmt
-      shell: bash 
\ No newline at end of file
+      run: nix develop -c just fmt
+      shell: bash
diff --git a/.github/actions/lint/action.yml b/.github/actions/lint/action.yml
index be5d738f..68c7eb53 100644
--- a/.github/actions/lint/action.yml
+++ b/.github/actions/lint/action.yml
@@ -6,5 +6,5 @@ runs:
   using: "composite"
   steps:
     - name: Lint code
-      run: uv run poe lint
-      shell: bash 
\ No newline at end of file
+      run: nix develop -c just lint
+      shell: bash
diff --git a/.github/actions/regenerate-protobufs/action.yml b/.github/actions/regenerate-protobufs/action.yml
index 0db43cab..dfc65512 100644
--- a/.github/actions/regenerate-protobufs/action.yml
+++ b/.github/actions/regenerate-protobufs/action.yml
@@ -7,4 +7,4 @@ runs:
   steps:
     - name: Regenerate protobufs
       run: nix develop -c just regenerate-protobufs
-      shell: bash 
\ No newline at end of file
+      shell: bash
diff --git a/.github/actions/setup-python-uv/action.yml b/.github/actions/setup-python-uv/action.yml
index 3b531ed0..b3eb2c03 100644
--- a/.github/actions/setup-python-uv/action.yml
+++ b/.github/actions/setup-python-uv/action.yml
@@ -13,8 +13,8 @@ runs:
 
     - name: Install Python
       run: uv python install
-      shell: bash 
+      shell: bash
 
     - name: Sync
       run: uv sync --locked --all-extras --dev
-      shell: bash
\ No newline at end of file
+      shell: bash
diff --git a/.github/actions/typecheck/action.yml b/.github/actions/typecheck/action.yml
index 96b4c2e8..8ae7ffa2 100644
--- a/.github/actions/typecheck/action.yml
+++ b/.github/actions/typecheck/action.yml
@@ -6,5 +6,5 @@ runs:
   using: "composite"
   steps:
     - name: Run type checker
-      run: uv run poe check
-      shell: bash 
\ No newline at end of file
+      run: nix develop -c just check
+      shell: bash
diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml
index cb6860b3..6f3ba411 100644
--- a/.github/workflows/pipeline.yml
+++ b/.github/workflows/pipeline.yml
@@ -14,7 +14,7 @@ jobs:
   typecheck:
     runs-on: ubuntu-22.04
     steps:
-      - uses: ./.github/workflows/type-check.yml
+      - uses: ./.github/actions/typecheck
   ci:
     needs: typecheck
     runs-on: ubuntu-22.04
@@ -38,9 +38,6 @@ jobs:
         with:
           github_access_token: ${{ secrets.GITHUB_TOKEN }}
 
-      - name: Setup Python and uv
-        uses: ./.github/actions/setup-python-uv
-
       - uses: ./.github/actions/regenerate-protobufs
 
       - name: Commit regenerated protobufs
@@ -64,4 +61,4 @@ jobs:
 
       - name: Push changes
         run: git push
-        shell: bash
\ No newline at end of file
+        shell: bash

← c977ce94 Ensure `exo-shared` is a Dependency of `exo-master` and `exo  ·  back to Exo  ·  Scaffold Event Sourcing 5abf03e3 →