diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 6bb1c5e..8afc5e4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -8,16 +8,6 @@ on: branches: - 'main' jobs: - run-copywrite: - timeout-minutes: 5 - runs-on: ubuntu-24.04 - steps: - - uses: actions/checkout@v6 - - uses: hashicorp/setup-copywrite@v1.1.3 - - name: verify copyright - run: | - copywrite --config .github/workflows/scripts/copywrite.hcl \ - headers --spdx "BSD-3-Clause" --plan run-tests: timeout-minutes: 5 strategy: diff --git a/.github/workflows/scripts/copywrite.hcl b/.github/workflows/scripts/copywrite.hcl deleted file mode 100644 index 96579bb..0000000 --- a/.github/workflows/scripts/copywrite.hcl +++ /dev/null @@ -1,14 +0,0 @@ -schema_version = 1 - -project { - license = "BSD-3-Clause" - copyright_holder = "CattleCloud LLC" - copyright_year = 2025 - header_ignore = [ - "**/*.sh", - ".src/**", - ".bin/**", - ".github/**", - ".golangci.yaml", - ] -} diff --git a/Justfile b/Justfile index 2438b2f..4be6132 100644 --- a/Justfile +++ b/Justfile @@ -25,13 +25,6 @@ tests: test unit: go test -v -count=1 -race -run {{unit}} 2>/dev/null -# ensure copywrite headers present on source files -[group('lint')] -copywrite: - $GOBIN/copywrite \ - --config {{scripts}}/copywrite.hcl headers \ - --spdx "BSD-3-Clause" - # apply go vet command on source tree [group('lint')] vet: @@ -51,5 +44,4 @@ lint: vet [group('build')] init: go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.8.0 - go install github.com/hashicorp/copywrite@v0.24.0