Skip to content

Commit ce26666

Browse files
committed
chore: upgrade go version to v1.26.0
Signed-off-by: Dejan Zele Pejchev <pejcev.dejan@gmail.com>
1 parent 9efcd8e commit ce26666

File tree

10 files changed

+11
-11
lines changed

10 files changed

+11
-11
lines changed

.github/actions/setup-go-cache/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ inputs:
55
description: "Prefix for the cache key"
66
required: true
77
go-version:
8-
description: "Version of Go. Default 1.25"
8+
description: "Version of Go. Default 1.26"
99
required: false
10-
default: "1.25"
10+
default: "1.26"
1111
cache-tools:
1212
description: "True/false flag to cache tools"
1313
required: false

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
- name: Lint using golangci-lint
6262
uses: golangci/golangci-lint-action@v9
6363
with:
64-
version: v2.5.0
64+
version: v2.9.0
6565
only-new-issues: true
6666
skip-cache: true
6767
args: --timeout=10m --issues-exit-code=1 ./...

.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ env:
1919
# To use a builder other than "default", set this variable.
2020
# Necessary for, e.g., GitHub actions cache integration.
2121
- DOCKER_BUILDX_BUILDER={{ if index .Env "DOCKER_BUILDX_BUILDER" }}{{ .Env.DOCKER_BUILDX_BUILDER }}{{ else }}default{{ end }}
22-
- GOVERSION={{ if index .Env "GOVERSION" }}{{ .Env.GOVERSION }}{{ else }}go1.25{{ end }}
22+
- GOVERSION={{ if index .Env "GOVERSION" }}{{ .Env.GOVERSION }}{{ else }}go1.26{{ end }}
2323

2424
builds:
2525
- env: [CGO_ENABLED=0]

docs/developer_guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ For more information about Armada's design, see the following pages:
7272

7373
Before you can start using Armada, you first need to install the following items:
7474

75-
- [`Go`](https://go.dev/doc/install) (version 1.25 or later)
75+
- [`Go`](https://go.dev/doc/install) (version 1.26 or later)
7676
- `gcc` (for Windows, [see `tdm-gcc`](https://jmeubank.github.io/tdm-gcc/))
7777
- [`mage`](https://magefile.org/)
7878
- [`docker`](https://docs.docker.com/get-docker/)

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/armadaproject/armada
22

3-
go 1.25.5
3+
go 1.26.0
44

55
require (
66
github.com/apache/pulsar-client-go v0.18.0

internal/server/submit/validation/submit_request.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ func validateResources(j *api.JobSubmitRequestItem, config configuration.Submiss
253253
maxOversubscriptionByResource = map[string]float64{}
254254
}
255255
for _, container := range armadaslices.Concatenate(spec.Containers, spec.InitContainers) {
256-
if len(container.Resources.Requests) == 0 && len(container.Resources.Requests) == 0 {
256+
if len(container.Resources.Requests) == 0 && len(container.Resources.Limits) == 0 {
257257
return fmt.Errorf("container %v has no resources specified", container.Name)
258258
}
259259

magefiles/cmd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ func go_CMD() ([]string, error) {
122122
"GARCH=amd64",
123123
"-v",
124124
fmt.Sprintf("%s:/go", DOCKER_GOPATH_DIR),
125-
"golang:1.25-bookworm",
125+
"golang:1.26-bookworm",
126126
}, nil
127127
}
128128

magefiles/go.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"github.com/pkg/errors"
99
)
1010

11-
const GO_VERSION_CONSTRAINT = ">= 1.25.0"
11+
const GO_VERSION_CONSTRAINT = ">= 1.26.0"
1212

1313
func goBinary() string {
1414
return binaryWithExt("go")

tools.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ tools:
1313
- golang.org/x/tools/cmd/goimports@v0.38.0
1414
- sigs.k8s.io/kind@v0.25.0
1515
- github.com/sqlc-dev/sqlc/cmd/sqlc@v1.30.0
16-
- github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.5.0
16+
- github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.9.0

website/content/developer-guide.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This guide helps you set up a development environment for contributing to Armada
99

1010
Install the following tools before you begin. These are verified requirements from the Armada source code:
1111

12-
- **[Go](https://go.dev/doc/install)** (version 1.25 or later) - Required for building Armada
12+
- **[Go](https://go.dev/doc/install)** (version 1.26 or later) - Required for building Armada
1313
- **gcc** (for Windows, see [tdm-gcc](https://jmeubank.github.io/tdm-gcc/)) - Required for CGO compilation
1414
- **[mage](https://magefile.org/)** - Build tool used throughout the Armada project (similar to Make, written in Go)
1515
- **[Docker](https://docs.docker.com/get-docker/)** - Container runtime for running dependencies

0 commit comments

Comments
 (0)