name: ci on: push: pull_request: jobs: test: # Adjust to match the labels of your Forgejo runner. runs-on: docker steps: # Actions are pinned to commits so a moved tag can't change what runs here. - uses: https://data.forgejo.org/actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 - uses: https://github.com/astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6.8.0 with: version: "0.13.6" - run: uv sync --locked - run: uv run ruff check . - run: uv run ruff format --check . - run: uv run pytest deploy: needs: test if: github.event_name == 'push' && github.ref == 'refs/heads/main' runs-on: docker steps: - uses: https://data.forgejo.org/actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 - uses: https://github.com/superfly/flyctl-actions/setup-flyctl@ed8efb33836e8b2096c7fd3ba1c8afe303ebbff1 # master, 2026-10 - run: flyctl deploy --remote-only env: FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}