| 1 |
name: daily |
| 2 |
on: |
| 3 |
workflow_dispatch: |
| 4 |
schedule: |
| 5 |
- cron: '42 0 * * *' # daily at 00:42 |
| 6 |
concurrency: |
| 7 |
group: ${{ github.workflow }} |
| 8 |
cancel-in-progress: true |
| 9 |
|
| 10 |
jobs: |
| 11 |
bench: |
| 12 |
runs-on: ubuntu-latest |
| 13 |
steps: |
| 14 |
- uses: actions/checkout@v4 |
| 15 |
- uses: actions/setup-go@v5 |
| 16 |
with: |
| 17 |
go-version-file: ./go.mod |
| 18 |
- run: AUTOBAHN=1 ./ci/bench.sh |
| 19 |
test: |
| 20 |
runs-on: ubuntu-latest |
| 21 |
steps: |
| 22 |
- uses: actions/checkout@v4 |
| 23 |
- uses: actions/setup-go@v5 |
| 24 |
with: |
| 25 |
go-version-file: ./go.mod |
| 26 |
- run: AUTOBAHN=1 ./ci/test.sh |
| 27 |
- uses: actions/upload-artifact@v3 |
| 28 |
with: |
| 29 |
name: coverage.html |
| 30 |
path: ./ci/out/coverage.html |
| 31 |
bench-dev: |
| 32 |
runs-on: ubuntu-latest |
| 33 |
steps: |
| 34 |
- uses: actions/checkout@v4 |
| 35 |
with: |
| 36 |
ref: dev |
| 37 |
- uses: actions/setup-go@v5 |
| 38 |
with: |
| 39 |
go-version-file: ./go.mod |
| 40 |
- run: AUTOBAHN=1 ./ci/bench.sh |
| 41 |
test-dev: |
| 42 |
runs-on: ubuntu-latest |
| 43 |
steps: |
| 44 |
- uses: actions/checkout@v4 |
| 45 |
with: |
| 46 |
ref: dev |
| 47 |
- uses: actions/setup-go@v5 |
| 48 |
with: |
| 49 |
go-version-file: ./go.mod |
| 50 |
- run: AUTOBAHN=1 ./ci/test.sh |
| 51 |
- uses: actions/upload-artifact@v3 |
| 52 |
with: |
| 53 |
name: coverage-dev.html |
| 54 |
path: ./ci/out/coverage.html |