feat(build): update Makefile (#108) #301
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: Go | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go 1.19 | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.19.13 | |
id: go | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v4 | |
- name: Run go test | |
run: make test | |
- name: verify dependencies | |
run: make deps | |
- name: verify license | |
run: make license-check | |
- name: verify kubegen | |
run: make verify_kubegen | |
env: | |
GOPATH: /home/runner/work/api/go |