Skip to content

Commit ade64d5

Browse files
authored
ci: eliminate copywrite steps (#16)
1 parent 49c25cd commit ade64d5

3 files changed

Lines changed: 2 additions & 32 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,6 @@ on:
88
branches:
99
- 'main'
1010
jobs:
11-
run-copywrite:
12-
timeout-minutes: 5
13-
runs-on: ubuntu-24.04
14-
steps:
15-
- uses: actions/checkout@v6
16-
- uses: hashicorp/setup-copywrite@v1.1.3
17-
- name: verify copyright
18-
run: |
19-
copywrite --config .github/workflows/scripts/copywrite.hcl \
20-
headers --spdx "BSD-3-Clause" --plan
2111
run-tests:
2212
timeout-minutes: 5
2313
runs-on: ubuntu-24.04
@@ -33,5 +23,5 @@ jobs:
3323
just sysinfo
3424
- name: Run Go Test
3525
run: |
36-
just init tidy lint test
26+
just init tidy lint tests
3727

.github/workflows/scripts/copywrite.hcl

Lines changed: 0 additions & 13 deletions
This file was deleted.

Justfile

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,9 @@ tidy:
1515

1616
# run tests across source tree
1717
[group('build')]
18-
test:
18+
tests:
1919
go test -v -race -count=1 ./...
2020

21-
# ensure copywrite headers present on source files
22-
[group('lint')]
23-
copywrite:
24-
copywrite \
25-
--config {{scripts}}/copywrite.hcl headers \
26-
--spdx "BSD-3-Clause"
27-
2821
# apply go vet command on source tree
2922
[group('lint')]
3023
vet:

0 commit comments

Comments
 (0)