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