fix(deps): update base digest to 1c4ed03 #50
This file contains 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) }} | |
jobs: | |
pre-commit: | |
name: Run `pre-commit` | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
- uses: pre-commit/[email protected] | |
test: | |
name: Run approval tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
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@v3 | |
with: | |
detached: true | |
- name: Install test dependencies | |
run: | | |
pipx install copier | |
pipx install texttest | |
- name: Run `texttest` | |
run: texttest -b | |
results: | |
name: Collect results | |
needs: | |
- pre-commit | |
- test | |
permissions: | |
contents: write | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: codfish/semantic-release-action@v3 | |
with: | |
plugins: | | |
[ "@semantic-release/commit-analyzer", | |
"@semantic-release/release-notes-generator", | |
"@semantic-release/github" | |
] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |