From 2584d7389649d7edfd6b235bfe0e5c4350399ed5 Mon Sep 17 00:00:00 2001 From: Maciej Urbanski Date: Fri, 21 Jun 2024 22:16:57 +0200 Subject: [PATCH] cruft update (GHA node16 warning fix, lint fix) --- .cruft.json | 2 +- .github/workflows/ci.yml | 12 ++++++------ .github/workflows/publish.yml | 2 +- noxfile.py | 10 +++++----- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.cruft.json b/.cruft.json index 8e7db46..e3bfd1c 100644 --- a/.cruft.json +++ b/.cruft.json @@ -1,6 +1,6 @@ { "template": "https://github.com/reef-technologies/cookiecutter-rt-pkg", - "commit": "7390ecadb2c65075b6c6c9216c894cc6c4533b3e", + "commit": "93b8dabfc11ca0f56b94e2e0023e9eca6a8a574f", "checkout": null, "context": { "cookiecutter": { diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 86a38d4..176a3cb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,16 +13,16 @@ jobs: linter: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Python ${{ env.PYTHON_DEFAULT_VERSION }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ env.PYTHON_DEFAULT_VERSION }} cache: "pip" cache-dependency-path: 'pdm.lock' - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache/pdm key: ${{ env.PYTHON_DEFAULT_VERSION }}-pdm-${{ hashFiles('pdm.lock') }} @@ -41,16 +41,16 @@ jobs: python-version: ["3.9", "3.11", "3.12"] django-version: ["3.2", "4.2"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} cache: 'pip' cache-dependency-path: 'pdm.lock' - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache/pdm key: ${{ matrix.python-version }}-pdm-${{ hashFiles('pdm.lock') }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 32ef8d8..548a99c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -68,7 +68,7 @@ jobs: - name: Create GitHub release id: create-release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: name: ${{ steps.get-version.outputs.version }} body: ${{ steps.read-changelog.outputs.changes }} diff --git a/noxfile.py b/noxfile.py index 819dfc1..322209a 100644 --- a/noxfile.py +++ b/noxfile.py @@ -202,9 +202,9 @@ def version(value): message = f"release {tag}" session.log( - f'CHANGELOG updated, please review changes, and execute when ready:\n' - f' git commit -m {message!r}\n' - f' git push origin {current_branch}\n' - f' git tag {tag}\n' - f' git push origin {tag}\n' + f"CHANGELOG updated, please review changes, and execute when ready:\n" + f" git commit -m {message!r}\n" + f" git push origin {current_branch}\n" + f" git tag {tag}\n" + f" git push origin {tag}\n" )