From b1de99bf1e248f6ca0cb595c0220b9026ae781da Mon Sep 17 00:00:00 2001 From: Sergei Zyubin Date: Fri, 26 May 2023 01:04:17 +0200 Subject: [PATCH] chore: update Go to 1.20 as the main version (#249) * chore: promu - update go version to 1.20 * chore: github actions - update go version to 1.20 --- .github/workflows/build.yml | 2 +- .github/workflows/release.yml | 2 +- .promu.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ddf42997..b5488d67 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,7 +16,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v3 with: - go-version: ^1.18 + go-version: ^1.20 id: go - name: Check out code into the Go module directory uses: actions/checkout@v3 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2acfaa88..5809db1d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v3 with: - go-version: ^1.18 + go-version: ^1.20 - name: Check out code into the Go module directory uses: actions/checkout@v3 diff --git a/.promu.yml b/.promu.yml index a486350b..68834848 100644 --- a/.promu.yml +++ b/.promu.yml @@ -1,6 +1,6 @@ go: cgo: false - version: 1.19 + version: 1.20 repository: path: github.com/burningalchemist/sql_exporter build: