Merge pull request #10 from dgolja/scripts_fix #26
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 build | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
go-build: | |
name: build and test Go code | |
runs-on: ubuntu-latest | |
steps: | |
- id: checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: "0" | |
- id: go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.21 | |
- name: Build, test and lint | |
run: | | |
make ci | |
- name: check dirty files from go generate | |
run: | | |
make ci-check-dirty |