From e22da574284326169650309d5ac0bb115ac672bb Mon Sep 17 00:00:00 2001 From: Romain Dartigues Date: Tue, 12 Sep 2023 16:08:11 +0200 Subject: [PATCH] update go version to 1.21 --- .github/workflows/goreleaser.yml | 6 +++--- .github/workflows/unit-tests.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index 1b8c67c..e4dbe3a 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -2,7 +2,7 @@ name: goreleaser on: push: - # not not consider simplec commit + # do not consider simple commit branches: - '!*' # consider only release and pre-release tags @@ -22,7 +22,7 @@ jobs: - name: set up go uses: actions/setup-go@v2 with: - go-version: ">=1.20" + go-version: ">=1.21" - name: cache go modules uses: actions/cache@v1 @@ -36,7 +36,7 @@ jobs: run: | go mod vendor if [ ! -z "$(git status --porcelain)" ]; then - echo "::error::vendor directory if not synched with go.mod, please run go mod vendor" + echo "::error::vendor directory if not synced with go.mod, please run go mod vendor" exit 1 fi diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index de2febc..c6bf1aa 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -16,7 +16,7 @@ jobs: - name: set up go uses: actions/setup-go@v2 with: - go-version: 1.20 + go-version: 1.21 - name: cache go modules uses: actions/cache@v1