Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev: update Go to 1.22 #3679

Merged
merged 2 commits into from
Feb 13, 2024
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
3 changes: 3 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ jobs:
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support

steps:
- uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: Checkout repository
uses: actions/checkout@v4

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
steps:
- uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: '1.22'
cache: false
- uses: actions/checkout@v4
- name: golangci-lint
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
steps:
- uses: actions/setup-go@v5
with:
go-version: '1.22'
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion devtools/ci/dockerfiles/build-env/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/library/golang:1.21.3-bullseye
FROM docker.io/library/golang:1.22.0-bullseye

RUN apt-get update && apt-get install -y \
apt-transport-https \
Expand Down
2 changes: 1 addition & 1 deletion devtools/ci/dockerfiles/goalert/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/goalert/build-env:go1.21.4-postgres13 AS build
FROM docker.io/goalert/build-env:go1.22.0-postgres13 AS build
COPY / /build/
WORKDIR /build
RUN make clean bin/build/goalert-linux-amd64
Expand Down
2 changes: 1 addition & 1 deletion devtools/ci/tasks/build-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ outputs:
- name: bin
image_resource:
type: registry-image
source: { repository: goalert/build-env, tag: go1.21.4-postgres13 }
source: { repository: goalert/build-env, tag: go1.22.0-postgres13 }
run:
path: sh
dir: goalert
Expand Down
2 changes: 1 addition & 1 deletion devtools/ci/tasks/build-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ outputs:
- name: bin
image_resource:
type: registry-image
source: { repository: goalert/build-env, tag: go1.21.4-postgres13 }
source: { repository: goalert/build-env, tag: go1.22.0-postgres13 }
run:
path: sh
dir: goalert
Expand Down
2 changes: 1 addition & 1 deletion devtools/ci/tasks/scripts/codecheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if [ "$PKG_JSON_VER" != "$DOCKERFILE_VER" ]; then
fi

# assert build-env versions are identical
BUILD_ENV_VER=go1.21.4-postgres13
BUILD_ENV_VER=go1.22.0-postgres13
for file in $(find devtools -name 'Dockerfile*'); do
if ! grep -q "goalert/build-env" "$file"; then
continue
Expand Down
2 changes: 1 addition & 1 deletion devtools/ci/tasks/test-smoketest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ outputs:
- name: debug
image_resource:
type: registry-image
source: { repository: goalert/build-env, tag: go1.21.4-postgres13 }
source: { repository: goalert/build-env, tag: go1.22.0-postgres13 }
run:
path: sh
dir: goalert
Expand Down
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/target/goalert

go 1.21
go 1.22

require (
github.com/99designs/gqlgen v0.17.43
Expand Down
Loading