From 0bf374b60d6cdb0eae9819fd3bb0f67f2ff3f748 Mon Sep 17 00:00:00 2001 From: Francis Chuang Date: Fri, 20 Oct 2023 10:29:08 +1100 Subject: [PATCH] Upgrade go versions --- .github/workflows/test.yml | 4 ++-- docker-compose.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 72cc14b..8841171 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,9 +9,9 @@ jobs: strategy: matrix: go: - - version: "1.20" + - version: "1.21" report: true - - version: "1.19" + - version: "1.20" runs-on: ubuntu-latest steps: - name: Install code climate diff --git a/docker-compose.yml b/docker-compose.yml index 584e33f..268e30c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,7 +9,7 @@ services: - .:/source test: - image: golang:${GO_VERSION:-1.20} + image: golang:${GO_VERSION:-1.21} working_dir: /source command: go test -coverprofile c.out -v ./... volumes: @@ -17,7 +17,7 @@ services: - $GOPATH/pkg/mod/cache:/go/pkg/mod/cache benchmark: - image: golang:${GO_VERSION:-1.20} + image: golang:${GO_VERSION:-1.21} working_dir: /source command: go test -bench=. ./... volumes: