Chore: Tweak CI

This commit is contained in:
Arbion Halili
2025-06-30 22:41:33 +01:00
parent 133ab70d67
commit b758df83cf
3 changed files with 14 additions and 13 deletions

10
.github/actions/lint-check/action.yml vendored Normal file
View File

@@ -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

View File

@@ -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

View File

@@ -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/*