chore(deps): update base digest to cd83453 #382
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test & release | |
| on: | |
| pull_request: | |
| push: | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ github.ref != format('refs/heads/{0}', github.event.repository.default_branch) }} | |
| env: | |
| # renovate: datasource=custom.python-versions depName=actions/python-versions versioning=pep440 | |
| PYTHON_VERSION: 3.14.0 | |
| jobs: | |
| should-run: | |
| name: Should run | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 5 | |
| outputs: | |
| should-run: ${{ steps.action.outputs.should-run }} | |
| steps: | |
| - id: action | |
| uses: techneg-it/should-workflow-run@eff19348eb884f57e05bc6f05ae48ece3af14714 # v1.0.1 | |
| pre-commit: | |
| name: Run `pre-commit` | |
| needs: should-run | |
| if: fromJSON(needs.should-run.outputs.should-run) | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 5 | |
| steps: | |
| - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | |
| - uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0 | |
| with: | |
| python-version: ${{ env.PYTHON_VERSION }} | |
| - uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1 | |
| test: | |
| name: Run approval tests | |
| needs: should-run | |
| if: fromJSON(needs.should-run.outputs.should-run) | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 5 | |
| env: | |
| # renovate: datasource=pypi depName=copier | |
| COPIER_VERSION: 9.11.0 | |
| # renovate: datasource=pypi depName=texttest | |
| TEXTTEST_VERSION: 4.4.5 | |
| steps: | |
| - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | |
| with: | |
| fetch-depth: 0 # `copier` prefers full-history clones | |
| submodules: true | |
| - uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0 | |
| with: | |
| python-version: ${{ env.PYTHON_VERSION }} | |
| - name: Debug on runner (When re-run with "Enable debug logging" checked) | |
| if: runner.debug | |
| uses: mxschmitt/action-tmate@c0afd6f790e3a5564914980036ebf83216678101 # v3.23 | |
| with: | |
| detached: true | |
| - name: Install test dependencies | |
| run: | | |
| pipx install --python $(which python) copier==$COPIER_VERSION | |
| pipx install --python $(which python) texttest==$TEXTTEST_VERSION | |
| - name: Run `texttest` | |
| run: texttest -b | |
| results: | |
| name: Collect results | |
| permissions: | |
| contents: write | |
| issues: write | |
| pull-requests: write | |
| checks: read | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: poseidon/wait-for-status-checks@899c768d191b56eef585c18f8558da19e1f3e707 # v0.6.0 | |
| with: | |
| ignore: Collect results | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | |
| - uses: codfish/semantic-release-action@6c65402abb31a48c3f7396d7d099da015be67c2b # v4.0.1 | |
| with: | |
| plugins: | | |
| [ "@semantic-release/commit-analyzer", | |
| "@semantic-release/release-notes-generator", | |
| "@semantic-release/github" | |
| ] | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |