CI Go by @tim-thacker-nullify 332824d2db675ed88bcca35bd3216162d4e2df5d #234
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 |