add initial structure of the Service #24
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: Hygiene | |
on: [push, pull_request] | |
jobs: | |
format-vet-staticcheck: | |
name: Check for common mistakes | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
- run: test $(gofmt -l ./.. | wc -l) == 0 || (printf "Formatting issue; please run go fmt ./..\n" && exit 1) | |
- run: go vet ./... | |
- run: go install honnef.co/go/tools/cmd/staticcheck | |
- run: ~/go/bin/staticcheck ./... |