diff --git a/.github/actions/conditional-commit/conditional-commit.yml b/.github/actions/conditional-commit/conditional-commit.yml index 43c31c610..5d18fbf63 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 aec7bb984..1b43e9c4c 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 be5d738f2..68c7eb537 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 0db43caba..dfc65512b 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 3b531ed02..b3eb2c03b 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 96b4c2e87..8ae7ffa2e 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 cb6860b39..6f3ba4116 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