diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3de49b8..b0ae95e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }} diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 3fd8a68..c636552 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -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 @@ -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 }} diff --git a/.github/workflows/sync-template.yml b/.github/workflows/sync-template.yml index a5c48e8..a683f64 100644 --- a/.github/workflows/sync-template.yml +++ b/.github/workflows/sync-template.yml @@ -18,7 +18,7 @@ jobs: steps: - name: Checkout the cookiecutter repository - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: path: cookiecutter-repository @@ -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 diff --git a/{{cookiecutter.project_slug}}/.github/workflows/ci.yml b/{{cookiecutter.project_slug}}/.github/workflows/ci.yml index 4cdee23..e95df8b 100644 --- a/{{cookiecutter.project_slug}}/.github/workflows/ci.yml +++ b/{{cookiecutter.project_slug}}/.github/workflows/ci.yml @@ -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 @@ -49,7 +49,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v5 + uses: actions/checkout@v7 - uses: actions/setup-python@v6 with: @@ -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 diff --git a/{{cookiecutter.project_slug}}/.github/workflows/pypi.yml b/{{cookiecutter.project_slug}}/.github/workflows/pypi.yml index abd6ac8..331c6db 100644 --- a/{{cookiecutter.project_slug}}/.github/workflows/pypi.yml +++ b/{{cookiecutter.project_slug}}/.github/workflows/pypi.yml @@ -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 diff --git a/{{cookiecutter.project_slug}}/.pre-commit-config.yaml b/{{cookiecutter.project_slug}}/.pre-commit-config.yaml index be18e46..debff41 100644 --- a/{{cookiecutter.project_slug}}/.pre-commit-config.yaml +++ b/{{cookiecutter.project_slug}}/.pre-commit-config.yaml @@ -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 @@ -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" @@ -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 %}