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: 14 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Dependabot version updates. Configuration reference:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
# Dependabot reads Poetry projects (pyproject.toml + poetry.lock) through pip.
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "weekly"
13 changes: 5 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ on:
branches: [main]
push:
branches: [main]
# On-demand trigger: GitHub refuses to re-run a run older than 30 days, and
# both jobs relock against live PyPI, so drift is only observable on a fresh run.
# On-demand trigger: GitHub refuses to re-run a run older than 30 days.
workflow_dispatch:

jobs:
Expand All @@ -18,9 +17,8 @@ jobs:
with:
python-version: "3.10"
cache: poetry
# Relock first: poetry.lock is stale vs pyproject.toml (the merged spec
# bump did not regenerate it).
- run: poetry lock
# Fail if poetry.lock is stale vs pyproject.toml; install what is committed.
- run: poetry check --lock
- run: poetry install
- run: poetry build

Expand All @@ -34,9 +32,8 @@ jobs:
with:
python-version: "3.10"
cache: poetry
# Relock first: poetry.lock is stale vs pyproject.toml (the merged spec
# bump did not regenerate it).
- run: poetry lock
# Fail if poetry.lock is stale vs pyproject.toml; install what is committed.
- run: poetry check --lock
- run: poetry install
# No pytest suite yet; import-smoke the built package so CI fails fast
# on broken codegen/spec dependencies.
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:
with:
python-version: "3.10"
cache: poetry
# Relock first: poetry.lock is stale vs pyproject.toml (see ci.yml).
- run: poetry lock
# Fail if poetry.lock is stale vs pyproject.toml (see ci.yml).
- run: poetry check --lock
- run: poetry install
- run: poetry build

Expand All @@ -45,7 +45,7 @@ jobs:
with:
python-version: "3.10"
cache: poetry
- run: poetry lock
- run: poetry check --lock
- run: poetry install
# No pytest suite yet; import-smoke the package (see ci.yml).
- run: poetry run python -c "import utxorpc"
Expand Down
Loading
Loading