Automate safe Dependabot updates #24
Workflow file for this run
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: CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-latest | |
| # Bounded, so a step that hangs fails here rather than sitting until the | |
| # runner's own timeout hours later. | |
| timeout-minutes: 20 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5 | |
| with: | |
| go-version-file: go.mod | |
| # Built first: a compile error should fail before a test suite reaches the | |
| # same conclusion more slowly. | |
| # | |
| # The same action Release uses, so a pull request builds exactly what a | |
| # release builds -- all six targets. This used to run scripts/cli_build.sh, | |
| # which produces one host binary: a break in windows/arm64 or darwin/arm64 | |
| # surfaced first at release time. | |
| - name: Build | |
| uses: ./.github/actions/build | |
| - name: Test | |
| uses: ./.github/actions/test |