added test comment (#124) #232
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
on: | |
push: | |
branches: | |
- "**" | |
name: Build | |
env: | |
GO_VERSION: 1.21 | |
jobs: | |
build: | |
name: Run checks and build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{env.GO_VERSION}} | |
- name: Vet | |
run: make vet | |
- name: Test | |
run: make test | |
- name: Build | |
run: make | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{env.GO_VERSION}} | |
- run: go fmt ./... | |
- name: Verify No Differences after format | |
run: test -z "$(git diff)" |