Feature/json schema (#26) #63
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: Build, Test, Format and Lint | |
on: | |
push: | |
pull_request: | |
jobs: | |
build-binaries: | |
runs-on: ubuntu-latest | |
name: Build binary | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: ^1.19 | |
- name: Build binaries | |
run: make build | |
format-lint: | |
runs-on: ubuntu-latest | |
name: Format and lint | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: ^1.19 | |
- name: Install tools | |
run: make install-tools | |
- name: Format | |
run: make fmt && git diff --quiet | |
- name: Lint | |
run: make lint |