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
8 changes: 4 additions & 4 deletions .github/workflows/ci-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ">=1.24.3"
go-version: ">=1.26.3"
cache: true

- name: Run golangci-lint
uses: golangci/golangci-lint-action@v6
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9
with:
version: latest
version: v2.12.2

- name: Run tests
run: go test ./cmd/osctrld/ -race -coverprofile=coverage.out -v
Expand All @@ -47,7 +47,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ">=1.24.3"
go-version: ">=1.26.3"
cache: true

- name: Run GoReleaser snapshot
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ">=1.24.3"
go-version: ">=1.26.3"
cache: true

- name: Run golangci-lint
uses: golangci/golangci-lint-action@v6
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9
with:
version: latest
version: v2.12.2

- name: Run tests
run: go test ./cmd/osctrld/ -race -coverprofile=coverage.out -v
Expand All @@ -47,7 +47,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ">=1.24.3"
go-version: ">=1.26.3"
cache: true

- name: Run GoReleaser snapshot
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ">=1.24.3"
go-version: ">=1.26.3"
cache: true

- name: Run GoReleaser
Expand Down
20 changes: 11 additions & 9 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
version: "2"

linters:
enable:
- govet
- errcheck
- staticcheck
- unused
- gosimple
- ineffassign
- typecheck

linters-settings:
errcheck:
check-type-assertions: true

issues:
exclude-use-default: true
settings:
errcheck:
check-type-assertions: true
exclusions:
presets:
- comments
- common-false-positives
- legacy
- std-error-handling
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/jmpsec/osctrld

go 1.24.3
go 1.26.3

require (
github.com/rs/zerolog v1.35.1
Expand Down
Loading