Skip to content

Commit

Permalink
GO 1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
L3n41c committed Oct 9, 2024
1 parent 0a512de commit 1379d56
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"name": "Go",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/go:1-1.23",
"image": "mcr.microsoft.com/devcontainers/go:1-1.22",
"features": {
"ghcr.io/devcontainers/features/kubectl-helm-minikube:1": {},
"ghcr.io/devcontainers-contrib/features/kubectx-kubens": {},
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: build
env:
GO_VERSION: 1.23
GO_VERSION: 1.22
on:
push:
jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: "CodeQL"
env:
GO_VERSION: 1.23
GO_VERSION: 1.22
on:
push:
branches: [main]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Release
env:
GO_VERSION: 1.23
GO_VERSION: 1.22
on:
push:
branches:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on: [push, pull_request]
env:
GO111MODULE: "on"
PROJECTNAME: "watermarkpodautoscaler"
GO_VERSION: 1.23
GO_VERSION: 1.22
jobs:
build:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: registry.ddbuild.io/images/mirror/golang:1.23
image: registry.ddbuild.io/images/mirror/golang:1.22
variables:
GO111MODULE: "on"
PROJECTNAME: "watermarkpodautoscaler"
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the manager binary
FROM golang:1.23 as builder
FROM golang:1.22 as builder

WORKDIR /workspace
# Copy the Go Modules manifests
Expand Down
4 changes: 3 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module github.com/DataDog/watermarkpodautoscaler

go 1.23
go 1.22.0

toolchain go1.22.7

require (
github.com/DataDog/datadog-operator v0.7.1-0.20241003091406-6e9e14d97438
Expand Down

0 comments on commit 1379d56

Please sign in to comment.