diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 236a570..d64b278 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: | diff --git a/.tool-versions b/.tool-versions index 8374c3b..409aaa3 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1,2 @@ -golang 1.20.5 +golang 1.21.5 postgres 14.8 diff --git a/README.md b/README.md index 0b17ca5..88ea503 100644 --- a/README.md +++ b/README.md @@ -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 ``` diff --git a/deployment/api/Dockerfile b/deployment/api/Dockerfile index 10ec7d7..befc99b 100644 --- a/deployment/api/Dockerfile +++ b/deployment/api/Dockerfile @@ -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/ diff --git a/deployment/migrator/Dockerfile b/deployment/migrator/Dockerfile index 8fff719..737bf0d 100644 --- a/deployment/migrator/Dockerfile +++ b/deployment/migrator/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.20.5 +FROM golang:1.21.5 # Needed for pg_isready RUN apt-get update diff --git a/go.mod b/go.mod index 10c6a3e..9e9ec86 100644 --- a/go.mod +++ b/go.mod @@ -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