Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 0 additions & 13 deletions .github/workflows/scripts/copywrite.hcl

This file was deleted.

88 changes: 44 additions & 44 deletions .github/workflows/scripts/golangci.yaml
Original file line number Diff line number Diff line change
@@ -1,46 +1,46 @@
run:
timeout: 5m
version: "2"
linters:
enable:
- asasalint
- asciicheck
- bidichk
- bodyclose
- copyloopvar
- dogsled
- dupword
- durationcheck
- errcheck
- errname
- errorlint
- exhaustive
- gochecknoinits
- gocritic
- gofmt
- gosimple
- govet
- ineffassign
- makezero
- misspell
- musttag
- nilnil
- noctx
- paralleltest
- perfsprint
- prealloc
- predeclared
- reassign
- revive
- rowserrcheck
- staticcheck
- sqlclosecheck
- tagalign
- tenv
- unused
- whitespace

linters-settings:
paralleltest:
ignore-missing-subtests: true
exhaustive:
default-signifies-exhaustive: true
- asasalint
- asciicheck
- bidichk
- bodyclose
- copyloopvar
- dogsled
- dupword
- durationcheck
- errname
- errorlint
- exhaustive
- gochecknoinits
- gocritic
- makezero
- misspell
- musttag
- nilnil
- noctx
- paralleltest
- perfsprint
- prealloc
- predeclared
- reassign
- revive
- rowserrcheck
- sqlclosecheck
- tagalign
- usetesting
- whitespace
settings:
exhaustive:
default-signifies-exhaustive: true
paralleltest:
ignore-missing-subtests: true
exclusions:
generated: lax
presets:
- comments
formatters:
enable:
- gofmt
exclusions:
generated: lax
40 changes: 0 additions & 40 deletions .golangci.yaml

This file was deleted.

9 changes: 1 addition & 8 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,6 @@ tidy:
test:
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:
Expand All @@ -43,5 +36,5 @@ lint: vet
# locally install build dependencies
[group('build')]
init:
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.62.2
go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.11.4

2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module cattlecloud.net/go/ulog

go 1.23
go 1.26
Loading