Update actions/checkout action to v4 #117
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@v3.5.0 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v4.1.7 | |
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 |