Update actions/setup-go action to v5 #129
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: | |
pull_request_target: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go: [1.17] | |
name: Test with Go version ${{ matrix.go }} | |
steps: | |
- uses: actions/setup-go@v5.3.0 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v3.6.0 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: tools | |
run: make tools | |
- name: lint | |
run: make lint | |
- name: test | |
run: make test | |
- name: build | |
run: make build |