Skip to content
Merged
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
14 changes: 12 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Keeps the actions the workflows use current: one grouped pull request a week, read and merged by a maintainer.
# Only the workflow actions: the package's own dependencies are not updated from here.
# Keeps the actions the workflows use and the packages the tests and checks install current: one grouped pull
# request a week for each, read and merged by a maintainer. The uv group moves uv.lock, which CI and the release
# install from exactly (uv sync --locked). It holds minor and patch updates only: a new major arrives as a pull
# request of its own.
version: 2
updates:
- package-ecosystem: github-actions
Expand All @@ -9,3 +11,11 @@ updates:
groups:
actions:
patterns: ['*']
- package-ecosystem: uv
directory: /
schedule:
interval: weekly
groups:
uv:
patterns: ['*']
update-types: [minor, patch]
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- uses: astral-sh/setup-uv@v7
with:
python-version: ${{ matrix.python }}
- run: uv sync
- run: uv sync --locked
- run: uv run python --version
- run: uv run pytest -q
- run: uv run ruff check .
Expand All @@ -52,7 +52,7 @@ jobs:
steps:
- uses: actions/checkout@v7
- uses: astral-sh/setup-uv@v7
- run: uv sync
- run: uv sync --locked
- name: OKF's reference code at the pinned commit
run: |
REPO=$(uv run python -c "from onlyworlds import okf; print(okf.OKF_REPO)")
Expand Down Expand Up @@ -80,5 +80,5 @@ jobs:
steps:
- uses: actions/checkout@v7
- uses: astral-sh/setup-uv@v7
- run: uv sync
- run: uv sync --locked
- run: uv run pytest -q tests/test_wire.py tests/test_live.py tests/test_live_practice.py
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
echo "the $v entry names someone inside the team or points at an internal room or tracker (above): say the rule and its date instead"; exit 1
fi

- run: uv sync
- run: uv sync --locked
- run: uv run pytest -q
- run: uv run ruff check .
- run: uv run mypy --strict src tests
Expand Down
Loading