Skip to content

feat: template repository for building Bomly plugins #1

feat: template repository for building Bomly plugins

feat: template repository for building Bomly plugins #1

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
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: |
out="$(gofmt -l .)"
if [ -n "$out" ]; then
echo "gofmt needed on:" >&2
echo "$out" >&2
exit 1
fi
- name: go vet
run: go vet ./...
- name: go test
run: go test ./...
- name: tidy drift
run: |
go mod tidy
git diff --exit-code go.mod go.sum