test on tip #11157
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 on tip | |
on: | |
schedule: | |
- cron: '3 * * * *' | |
pull_request: | |
jobs: | |
test: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: stable | |
check-latest: true | |
- name: Install Go tip | |
run: | | |
go install golang.org/dl/gotip@latest | |
gotip download | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Generate codes and plugins | |
env: | |
GO: gotip | |
run: make gen | |
- name: Test | |
env: | |
GO: gotip | |
run: make test/norace |