Run spread tests #147
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: Run spread tests | |
on: | |
workflow_dispatch: | |
push: | |
paths-ignore: | |
- '**.md' | |
pull_request: | |
branches: [main] | |
schedule: | |
- cron: "0 0 */2 * *" | |
jobs: | |
spread-tests: | |
name: Spread tests | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/checkout@v3 | |
with: | |
repository: snapcore/spread | |
path: _spread | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: '>=1.17.0' | |
- name: Build and run spread | |
run: | | |
(cd _spread/cmd/spread && go build) | |
_spread/cmd/spread/spread -v focal jammy mantic noble |