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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
git config --global user.name "SSC CI Test User"

- name: Set up SSH Agent to deploy to test repositories
uses: webfactory/ssh-agent@v0.9.1
uses: webfactory/ssh-agent@v0.10.0
with:
ssh-private-key: |
${{ secrets.GHA_TEST_PRIVATE_KEY }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Checking out the cookie cutter repository
uses: actions/checkout@v7

- uses: actions/setup-python@v5
- uses: actions/setup-python@v6
with:
python-version: 3.13

Expand All @@ -30,7 +30,7 @@ jobs:
git config --global user.name "SSC CI Test User"

- name: Set up SSH Agent to deploy to test repositories
uses: webfactory/ssh-agent@v0.9.1
uses: webfactory/ssh-agent@v0.10.0
with:
ssh-private-key: |
${{ secrets.GHA_TEST_PRIVATE_KEY }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sync-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

steps:
- name: Checkout the cookiecutter repository
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
path: cookiecutter-repository

Expand All @@ -45,7 +45,7 @@ jobs:
run: tree -a -I ".git" .

- name: Checkout target repository
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
repository: ssciwr/python-project-template
ref: main
Expand Down
6 changes: 3 additions & 3 deletions {{cookiecutter.project_slug}}/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v7
with:
# setuptools_scm requires a non-shallow clone of the repository
fetch-depth: 0
Expand All @@ -49,7 +49,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v7

- uses: actions/setup-python@v6
with:
Expand All @@ -65,7 +65,7 @@ jobs:
python -m pytest --cov --cov-report=xml

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
uses: codecov/codecov-action@v7
with:
fail_ci_if_error: true
files: ./tests/coverage.xml
6 changes: 3 additions & 3 deletions {{cookiecutter.project_slug}}/.github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ jobs:
id-token: write

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
{%- if cookiecutter.version_management == "setuptools_scm" %}
with:
# setuptools_scm requires a non-shallow clone of the repository
fetch-depth: 0
{%- endif %}

- uses: actions/setup-python@v5
- uses: actions/setup-python@v6
name: Install Python

- name: Build SDist
run: pipx run build --sdist

- uses: pypa/gh-action-pypi-publish@v1.8.11
- uses: pypa/gh-action-pypi-publish@v1.14.0
6 changes: 3 additions & 3 deletions {{cookiecutter.project_slug}}/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.4
rev: v0.15.20
hooks:
# Run the linter
- id: ruff-check
Expand All @@ -27,7 +27,7 @@ repos:
# Make sure that Jupyter notebooks under version control
# have their outputs stripped before committing
- repo: https://github.com/kynan/nbstripout
rev: 0.8.1
rev: 0.9.1
hooks:
- id: nbstripout
files: ".ipynb"
Expand All @@ -36,7 +36,7 @@ repos:

# GitHub Actions Workflow linter
- repo: https://github.com/rhysd/actionlint
rev: v1.7.8
rev: v1.7.12
hooks:
- id: actionlint
{%- endif %}
Loading