name: ci on: [push, pull_request] jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: go-version-file: go.mod - name: gofmt run: test -z "$(gofmt -l .)" || { gofmt -d .; exit 1; } - run: go vet ./... - run: go test ./... - run: make build - run: man --warnings -l docs/dockertop.1 >/dev/null