Skip to content

Commit 54a6831

Browse files
authored
Bump Golang to 1.21.5 (#119)
* Bump golang version * Bump golangci-lint version * Update README, Dockerfiles, go.mod Reflect the updated golang version.
1 parent a603c40 commit 54a6831

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- name: golangci-lint
4242
uses: golangci/golangci-lint-action@v3
4343
with:
44-
version: v1.53.3
44+
version: v1.55.2
4545
- name: Ensure ordering of migration files is preserved
4646
if: ${{ github.event_name == 'pull_request' }}
4747
run: |

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
golang 1.20.5
1+
golang 1.21.5
22
postgres 14.8

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Install Golang and PostgresSQL. We recommend using a version manager like [asdf]
1818
* Install the required versions of the tools:
1919

2020
```bash
21-
asdf install golang 1.20.5
21+
asdf install golang 1.21.5
2222
asdf install postgres 14.8
2323
```
2424

deployment/api/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.20.5 AS build_stage
1+
FROM golang:1.21.5 AS build_stage
22

33
WORKDIR /go/src/github.com/source-academy/
44

deployment/migrator/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.20.5
1+
FROM golang:1.21.5
22

33
# Needed for pg_isready
44
RUN apt-get update

go.mod

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

3-
go 1.20
3+
go 1.21
44

55
require (
66
github.com/TwiN/go-color v1.4.0

0 commit comments

Comments
 (0)