Skip to content
Closed
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
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '~1.24.0'
go-version: '~1.25.0'

- name: Run linter
uses: golangci/golangci-lint-action@v8
with:
version: v2.1.5
version: v2.12.2
3 changes: 3 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
secrets: inherit

publish-kustomize-bundles:
needs: publish-container-image
permissions:
id-token: write
contents: read
Expand All @@ -26,4 +27,6 @@ jobs:
with:
bundle-name: ghcr.io/datum-cloud/compute-kustomize
bundle-path: config
image-name: ghcr.io/datum-cloud/compute
image-overlays: config/base/manager
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/test-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '~1.24.0'
go-version: '~1.25.0'

- name: Install the latest version of kind
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '~1.24.0'
go-version: '~1.25.0'

- name: Running Tests
run: |
Expand Down
7 changes: 5 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
# Output of the go coverage tool, specifically when used with LiteIDE
*.out

# Dependency directories (remove the comment below to include it)
# vendor/
# Dependency directories
vendor/

# Go workspace file
go.work
Expand All @@ -25,3 +25,6 @@ go.work.sum
.env

bin/

# Local e2e environment artefacts (Kind kubeconfigs, etc.)
tmp/
10 changes: 10 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,16 @@ linters:
- dupl
- lll
path: internal/*
# field.ErrorList{} is the idiomatic Kubernetes validation init pattern;
# preallocating requires knowing the error count in advance which is not
# possible in recursive validation helpers.
- linters:
- prealloc
path: internal/validation/
# Test helpers that build slices via append are clearer without prealloc.
- linters:
- prealloc
path: internal/controller/instancecontrol/
paths:
- third_party$
- builtin$
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ KUSTOMIZE_VERSION ?= v5.5.0
CONTROLLER_TOOLS_VERSION ?= v0.16.4
DEFAULTER_GEN_VERSION ?= v0.32.3
ENVTEST_VERSION ?= release-0.19
GOLANGCI_LINT_VERSION ?= v2.1.5
GOLANGCI_LINT_VERSION ?= v2.12.2

# renovate: datasource=go depName=fybrik.io/crdoc
CRDOC_VERSION ?= v0.6.4
Expand Down
Loading
Loading