diff --git a/.copier-answers.yml b/.copier-answers.yml index 3026921..f7d8b29 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,4 +1,4 @@ # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY -_commit: v2.1.4 +_commit: v2.4.1 _src_path: https://github.com/dafyddj/copier-bootstrap template_name: copier-packer-build diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 1223d33..3220412 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -16,5 +16,4 @@ "automerge": true, }, ], - "platformAutomerge": false, } diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e6855a9..3c2ddaf 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,11 +25,11 @@ jobs: if: fromJSON(needs.should-run.outputs.should-run) runs-on: ubuntu-latest env: - # renovate: datasource=github-releases depName=actions/python-versions extractVersion=^(?\S+)-\d+$ - PYTHON_VERSION: 3.12.6 + # renovate: datasource=custom.python-versions depName=actions/python-versions versioning=pep440 + PYTHON_VERSION: 3.13.0 steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 with: python-version: ${{ env.PYTHON_VERSION }} - uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1 @@ -38,32 +38,41 @@ jobs: needs: should-run if: fromJSON(needs.should-run.outputs.should-run) runs-on: ubuntu-latest + env: + # renovate: datasource=pypi depName=copier + COPIER_VERSION: 9.4.1 + # renovate: datasource=pypi depName=texttest + TEXTTEST_VERSION: 4.4.0.1 steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: fetch-depth: 0 # `copier` prefers full-history clones submodules: true - name: Debug on runner (When re-run with "Enable debug logging" checked) if: runner.debug - uses: mxschmitt/action-tmate@b3db6e16e597d92037c8647e54acc5d2b1b48dee # v3.18 + uses: mxschmitt/action-tmate@e5c7151931ca95bad1c6f4190c730ecf8c7dde48 # v3.19 with: detached: true - name: Install test dependencies run: | - pipx install copier - pipx install texttest + pipx install copier==$COPIER_VERSION + pipx install texttest==$TEXTTEST_VERSION - name: Run `texttest` run: texttest -b results: name: Collect results - needs: - - pre-commit - - test permissions: contents: write + issues: write + pull-requests: write + checks: read runs-on: ubuntu-latest steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + - uses: poseidon/wait-for-status-checks@6988432d64ad3f9c2608db4ca16fded1b7d36ead # v0.5.0 + with: + ignore: Collect results + token: ${{ secrets.GITHUB_TOKEN }} + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - uses: codfish/semantic-release-action@9a999e0cdb207de2c9d9d4276860435727818989 # v3.4.1 with: plugins: | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7195556..5641c74 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,14 +2,14 @@ # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: check-added-large-files - id: check-merge-conflict args: [--assume-in-merge] - id: check-yaml - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.29.2 + rev: 0.29.4 hooks: - id: check-github-workflows name: Check GitHub workflows with check-jsonschema diff --git a/template/.github/renovate.json5 b/template/.github/renovate.json5 index 1223d33..3220412 100644 --- a/template/.github/renovate.json5 +++ b/template/.github/renovate.json5 @@ -16,5 +16,4 @@ "automerge": true, }, ], - "platformAutomerge": false, }