Avoid panic at null workflow in IW trigger, allowing it to refresh #1068
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
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- | |
name: Checkout code | |
uses: actions/checkout@v2 | |
- | |
name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: "1.20" | |
- | |
name: Install cookie | |
run: scripts/gogetcookie.sh | |
- | |
name: Run tests | |
env: | |
GOFLAGS: "-mod=vendor" | |
run: | | |
make test | |
make vet |