Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 4 additions & 36 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ on:
jobs:
ruff:
name: Ruff (lint)
runs-on: ubuntu-latest
# TODO: remove once the codebase is fully lint-clean
continue-on-error: true
runs-on: ubuntu-26.04-arm
steps:
- name: Checkout
uses: actions/checkout@v6
Expand All @@ -29,27 +27,11 @@ jobs:
- name: Install dependencies
run: make install
- name: Lint
run: make lint-check || true
- name: Summary
if: always()
run: |
{
echo "## Ruff lint results"
echo
echo "<details><summary>Expand to see all errors (backlog while the codebase is being linted incrementally)</summary>"
echo
echo '```'
uv run ruff check --output-format=concise . || true
echo '```'
echo
echo "</details>"
} >> "$GITHUB_STEP_SUMMARY"
run: make lint-check

ty:
name: ty (type-check)
runs-on: ubuntu-latest
# TODO: remove once the codebase is fully typed
continue-on-error: true
runs-on: ubuntu-26.04-arm
steps:
- name: Checkout
uses: actions/checkout@v6
Expand All @@ -58,18 +40,4 @@ jobs:
- name: Install dependencies
run: make install
- name: Type-check
run: make typecheck || true
- name: Summary
if: always()
run: |
{
echo "## ty type-check results"
echo
echo "<details><summary>Expand to see all errors (backlog while the codebase is being typed incrementally)</summary>"
echo
echo '```'
uv run ty check --output-format=concise || true
echo '```'
echo
echo "</details>"
} >> "$GITHUB_STEP_SUMMARY"
run: make typecheck
6 changes: 3 additions & 3 deletions .github/workflows/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
./csvlint -lazyquotes "$filename" # TODO: remove lazyquotes when https://github.com/Clever/csvlint/issues/45 will be addressed
done
openapi:
runs-on: ubuntu-latest
runs-on: ubuntu-26.04-arm
steps:
- name: Checkout
uses: actions/checkout@v6
Expand All @@ -45,7 +45,7 @@ jobs:
make install-base
make openapi-generate
sqlite:
runs-on: ubuntu-latest
runs-on: ubuntu-26.04-arm
strategy:
fail-fast: false
matrix:
Expand All @@ -71,7 +71,7 @@ jobs:
- name: Test data
run: curl -Ss http://localhost:8000/api/v2/pokemon/1/ | grep -q 'bulbasaur'
postgres:
runs-on: ubuntu-latest
runs-on: ubuntu-26.04-arm
steps:
- name: Checkout
uses: actions/checkout@v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
jobs:
docker:
if: ${{ !github.event.repository.fork }}
runs-on: ubuntu-latest
runs-on: ubuntu-26.04-arm
steps:
- name: Checkout
uses: actions/checkout@v6
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docker-k8s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:

jobs:
docker:
runs-on: ubuntu-latest
runs-on: ubuntu-26.04-arm
steps:
- name: Checkout
uses: actions/checkout@v6
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
k8s:
runs-on: ubuntu-latest
runs-on: ubuntu-26.04-arm
steps:
- name: Checkout
uses: actions/checkout@v6
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
- name: Get GQL output
run: kubectl logs jobs/load-graphql
compose:
runs-on: ubuntu-latest
runs-on: ubuntu-26.04-arm
steps:
- name: Checkout
uses: actions/checkout@v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nix-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:

jobs:
nix-test:
runs-on: ubuntu-latest
runs-on: ubuntu-26.04-arm
steps:
- name: Checkout
uses: actions/checkout@v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
jobs:
release:
if: ${{ !github.event.repository.fork }}
runs-on: ubuntu-latest
runs-on: ubuntu-26.04-arm
steps:
- name: Checkout
uses: actions/checkout@v6
Expand Down
4 changes: 3 additions & 1 deletion data/v2/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
from .build import *
from .build import build_all

__all__: tuple[str, ...] = ("build_all",)
Loading
Loading