Skip to content

feat: add package disable and finalizer uninstall #12

feat: add package disable and finalizer uninstall

feat: add package disable and finalizer uninstall #12

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: golangci-lint
uses: golangci/golangci-lint-action@v7
with:
version: v2.11.4
install-mode: goinstall
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Run tests with race detector
run: go test -race ./... -count=1
build:
name: Build
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
license:
name: License Headers
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Check license headers
run: |
go install github.com/google/addlicense@latest
addlicense -check -f hack/boilerplate.go.txt $(find cmd internal -name '*.go')