CI Go by @jonathanlam 512c118d4c17eb382d4e4e875ded31a3ff36b903 #222
Workflow file for this run
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: CI Go | |
on: | |
pull_request: | |
paths: | |
- .github/workflows/ci-go.yml | |
- '**.go' | |
- go.* | |
- Makefile | |
run-name: CI Go by @${{ github.actor }} ${{ github.sha }} | |
jobs: | |
build-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
- name: build | |
run: make build | |
- name: tidy | |
run: | | |
go mod tidy | |
git diff --exit-code | |
- name: lint | |
run: make lint-go | |
- name: test | |
run: make unit |