Skip to content

Merge pull request #2 from chrishrb/fix/1-template-missing-in-binary #18

Merge pull request #2 from chrishrb/fix/1-template-missing-in-binary

Merge pull request #2 from chrishrb/fix/1-template-missing-in-binary #18

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22
- name: Build
run: make build
- name: Run tests
run: make test
- name: Format
run: |
DIFF="$(gofmt -d .)"
if [[ -n $DIFF ]]; then
echo "$DIFF"
echo "please run gofmt"
exit 1
fi
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.60