From f50ff55792335acbdeee366d7bd46b3a1890ae61 Mon Sep 17 00:00:00 2001 From: Seth Hoenig Date: Fri, 22 May 2026 10:23:25 -0500 Subject: [PATCH] ci: eliminate copywrite steps --- .github/workflows/ci.yaml | 12 +----------- .github/workflows/scripts/copywrite.hcl | 13 ------------- Justfile | 9 +-------- 3 files changed, 2 insertions(+), 32 deletions(-) delete mode 100644 .github/workflows/scripts/copywrite.hcl diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c62d299..64fa725 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 runs-on: ubuntu-24.04 @@ -33,5 +23,5 @@ jobs: just sysinfo - name: Run Go Test run: | - just init tidy lint test + just init tidy lint tests diff --git a/.github/workflows/scripts/copywrite.hcl b/.github/workflows/scripts/copywrite.hcl deleted file mode 100644 index 2ee1ec8..0000000 --- a/.github/workflows/scripts/copywrite.hcl +++ /dev/null @@ -1,13 +0,0 @@ -schema_version = 1 - -project { - license = "BSD-3-Clause" - copyright_holder = "CattleCloud LLC" - copyright_year = 2024 - header_ignore = [ - ".golangci.yaml", - ".copywrite.hcl", - ".github/**", - ] -} - diff --git a/Justfile b/Justfile index f13bf1e..f4ad079 100644 --- a/Justfile +++ b/Justfile @@ -15,16 +15,9 @@ tidy: # run tests across source tree [group('build')] -test: +tests: go test -v -race -count=1 ./... -# ensure copywrite headers present on source files -[group('lint')] -copywrite: - copywrite \ - --config {{scripts}}/copywrite.hcl headers \ - --spdx "BSD-3-Clause" - # apply go vet command on source tree [group('lint')] vet: