diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index 35a3de86..8061959f 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -10,10 +10,10 @@ jobs: name: Release runs-on: ubuntu-20.04 steps: - - name: Set up Go 1.18 + - name: Set up Go 1.20 uses: actions/setup-go@v2 with: - go-version: 1.18.x + go-version: 1.20.x - name: Checkout uses: actions/checkout@v2 with: diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 26a58ebd..a7aa8000 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,7 @@ jobs: name: Build and Test strategy: matrix: - go: [1.18.x, 1.19.x] + go: [1.19.x, 1.20.x] os: [ubuntu-20.04, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: diff --git a/.tool-versions b/.tool-versions index ded18574..e8249f49 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1 @@ -golang 1.18.8 +golang 1.20.5 diff --git a/CHANGELOG.md b/CHANGELOG.md index 24443b87..6c2904ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Changed - `realm-management interfaces {install,upgrade}` commands are run synchronously. +- Use Go 1.20 for releases. ## [22.11.02] - 23/05/2023 ### Changed diff --git a/go.mod b/go.mod index 2b965e6f..ac45f3b8 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/astarte-platform/astartectl -go 1.18 +go 1.20 require ( code.cloudfoundry.org/bytefmt v0.0.0-20211005130812-5bb3c17173e5