Skip to content

Commit

Permalink
Bump Golang to 1.21.5 (#119)
Browse files Browse the repository at this point in the history
* Bump golang version

* Bump golangci-lint version

* Update README, Dockerfiles, go.mod

Reflect the updated golang version.
  • Loading branch information
RichDom2185 authored Mar 16, 2024
1 parent a603c40 commit 54a6831
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.53.3
version: v1.55.2
- name: Ensure ordering of migration files is preserved
if: ${{ github.event_name == 'pull_request' }}
run: |
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
golang 1.20.5
golang 1.21.5
postgres 14.8
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Install Golang and PostgresSQL. We recommend using a version manager like [asdf]
* Install the required versions of the tools:

```bash
asdf install golang 1.20.5
asdf install golang 1.21.5
asdf install postgres 14.8
```

Expand Down
2 changes: 1 addition & 1 deletion deployment/api/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.20.5 AS build_stage
FROM golang:1.21.5 AS build_stage

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

Expand Down
2 changes: 1 addition & 1 deletion deployment/migrator/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.20.5
FROM golang:1.21.5

# Needed for pg_isready
RUN apt-get update
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/source-academy/stories-backend

go 1.20
go 1.21

require (
github.com/TwiN/go-color v1.4.0
Expand Down

0 comments on commit 54a6831

Please sign in to comment.