Infra/retry license #74
Workflow file for this run
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
--- | |
# yamllint disable rule:line-length | |
name: pre-commit | |
on: # yamllint disable-line rule:truthy | |
pull_request: | |
push: | |
branches: | |
- main # We never expect this to fail, since it must have passed on the pull request, but this will let us create a cache on main that other PRs can use, speeding up the process | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/[email protected] | |
with: | |
python-version: '3.12' | |
- uses: actions/[email protected] | |
with: | |
dotnet-version: '8.0.x' | |
- name: test | |
uses: Wandalen/wretry.action@master | |
with: | |
action: game-ci/unity-builder@v4 | |
with: | | |
option1: value | |
option2: value | |
- name: Run pre-commit with retries | |
uses: Wandalen/wretry.action@v3 | |
with: | |
action: pre-commit/[email protected] | |
with: | | |
option1: value | |
option2: value |