Skip to content

Commit

Permalink
MM-57245: Bump up Go version to 1.21 (mattermost#26512)
Browse files Browse the repository at this point in the history
* MM-57245: Bump up Go version to 1.21

https://mattermost.atlassian.net/browse/MM-57245
```release-note
NONE
```
  • Loading branch information
agnivade authored Mar 21, 2024
1 parent 1dc5c00 commit 5e851f7
Show file tree
Hide file tree
Showing 38 changed files with 1,151 additions and 1,142 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: Setup go
uses: actions/setup-go@v2
with:
go-version: '1.20'
go-version: '1.21'
if: ${{ matrix.language == 'go' }}


Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/migration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-22.04
env:
COMPOSE_PROJECT_NAME: ghactions
BUILD_IMAGE: mattermost/mattermost-build-server:20230904_golang-1.20.7
BUILD_IMAGE: mattermost/mattermost-build-server:1.21.8
TEST_IMAGE: migration-test-image
defaults:
run:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mmctl-test-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-22.04
env:
COMPOSE_PROJECT_NAME: ghactions
BUILD_IMAGE: mattermost/mattermost-build-server:20230904_golang-1.20.7
BUILD_IMAGE: mattermost/mattermost-build-server:1.21.8
steps:
- name: Checkout mattermost project
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
Expand Down
2 changes: 1 addition & 1 deletion server/.go-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.20.7
1.21.8
2 changes: 1 addition & 1 deletion server/build/Dockerfile.buildenv
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM golang:1.20.7-bullseye@sha256:c95c52c458a2678251e0769ea13c710b0c52814771c53a495f53b9e87f9c0e99
FROM golang:1.21.8-bullseye@sha256:81d98548f08e22a59c5c0be814acc0997f3dfd3313487adcf4e1d3d962af3a43

RUN apt-get update && apt-get install -y make git apt-transport-https ca-certificates curl software-properties-common build-essential zip xmlsec1 jq
Loading

0 comments on commit 5e851f7

Please sign in to comment.