diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 28fd704..7a557db 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,7 +6,7 @@ jobs: actionlint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Download actionlint run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash) 1.6.21 shell: bash @@ -18,8 +18,8 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: "3.12" - run: python -m pip install pre-commit @@ -29,8 +29,8 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: "3.12" - run: python -m pip install cookiecutter pytest pyyaml @@ -40,8 +40,8 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: "3.12" - run: python -m pip install cookiecutter poetry diff --git a/{{cookiecutter.project_slug}}/.github/actions/python-poetry-env/action.yml b/{{cookiecutter.project_slug}}/.github/actions/python-poetry-env/action.yml index ab4ba5e..a973225 100644 --- a/{{cookiecutter.project_slug}}/.github/actions/python-poetry-env/action.yml +++ b/{{cookiecutter.project_slug}}/.github/actions/python-poetry-env/action.yml @@ -10,7 +10,7 @@ outputs: {} runs: using: 'composite' steps: - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: ${{inputs.python-version}} - name: Install poetry diff --git a/{{cookiecutter.project_slug}}/.github/workflows/cookiecutter.yml b/{{cookiecutter.project_slug}}/.github/workflows/cookiecutter.yml index 52acc01..59f037a 100644 --- a/{{cookiecutter.project_slug}}/.github/workflows/cookiecutter.yml +++ b/{{cookiecutter.project_slug}}/.github/workflows/cookiecutter.yml @@ -8,9 +8,9 @@ jobs: auto-update-project: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.12" diff --git a/{{cookiecutter.project_slug}}/.github/workflows/dependencies.yml b/{{cookiecutter.project_slug}}/.github/workflows/dependencies.yml index 94cc106..f9ff093 100644 --- a/{{cookiecutter.project_slug}}/.github/workflows/dependencies.yml +++ b/{{cookiecutter.project_slug}}/.github/workflows/dependencies.yml @@ -8,7 +8,7 @@ jobs: auto-update-dependencies: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: ./.github/actions/python-poetry-env - name: Install tabulate diff --git a/{{cookiecutter.project_slug}}/.github/workflows/draft_release.yml b/{{cookiecutter.project_slug}}/.github/workflows/draft_release.yml index 4fbf97b..54aacba 100644 --- a/{{cookiecutter.project_slug}}/.github/workflows/draft_release.yml +++ b/{{cookiecutter.project_slug}}/.github/workflows/draft_release.yml @@ -12,7 +12,7 @@ jobs: draft-release: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: ./.github/actions/python-poetry-env - name: Update version id: updated_version diff --git a/{{cookiecutter.project_slug}}/.github/workflows/release.yml b/{{cookiecutter.project_slug}}/.github/workflows/release.yml index 1572da8..7a32754 100644 --- a/{{cookiecutter.project_slug}}/.github/workflows/release.yml +++ b/{{cookiecutter.project_slug}}/.github/workflows/release.yml @@ -8,7 +8,7 @@ jobs: build-and-publish: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: ./.github/actions/python-poetry-env - name: Publish to pypi run: | diff --git a/{{cookiecutter.project_slug}}/.github/workflows/test.yml b/{{cookiecutter.project_slug}}/.github/workflows/test.yml index ddd4691..539305d 100644 --- a/{{cookiecutter.project_slug}}/.github/workflows/test.yml +++ b/{{cookiecutter.project_slug}}/.github/workflows/test.yml @@ -10,7 +10,7 @@ jobs: actionlint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Download actionlint run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash) 1.6.21 shell: bash @@ -22,14 +22,14 @@ jobs: name: Check if automatic project update was successful runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Fail if .rej files exist as structure update was not successful run: test -z "$(find . -iname '*.rej')" pre-commit: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: ./.github/actions/python-poetry-env - run: poetry run pre-commit run --all-files @@ -40,7 +40,7 @@ jobs: matrix: python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: ./.github/actions/python-poetry-env with: python-version: ${{ matrix.python-version }} @@ -49,6 +49,6 @@ jobs: docs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: ./.github/actions/python-poetry-env - run: poetry run mkdocs build{% endraw %}