From 7ea9fe0300e6ab050ca46364391e3a2513cf0512 Mon Sep 17 00:00:00 2001 From: Kazumichi Yamamoto Date: Mon, 3 Oct 2022 15:32:12 +0900 Subject: [PATCH] go 1.19 --- .github/workflows/release.yaml | 2 +- .github/workflows/tests.yaml | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 0f61763..3b254b6 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -20,7 +20,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.18 + go-version: 1.19 - name: Run GoReleaser uses: goreleaser/goreleaser-action@v3 diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 99fe4a5..bd85f52 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -16,7 +16,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.18 + go-version: 1.19 - name: Setup tools run: | @@ -38,7 +38,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.18 + go-version: 1.19 - name: Setup tools run: | @@ -46,6 +46,8 @@ jobs: - name: make lint-go run: | + # Explicitly set GOROOT to avoid golangci-lint/issues/3107 + export GOROOT=$(go env GOROOT) make lint-go test: @@ -64,7 +66,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.18 + go-version: 1.19 - name: Setup tools run: |