Skip to content

Commit

Permalink
chore: update Go to 1.21
Browse files Browse the repository at this point in the history
Signed-off-by: Francesco Noacco <francesco.noacco@secomind.com>
  • Loading branch information
noaccOS committed Apr 9, 2024
1 parent 03b9594 commit c68f721
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/golangci-lint.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2023 SECO Mind Srl
# Copyright © 2023-2024 SECO Mind Srl
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -25,7 +25,7 @@ jobs:
# Since v3, golangci-lint needs explicit go-setup
- uses: actions/setup-go@v4
with:
go-version: v1.20.x
go-version: v1.21.x
# Run golint-ci
- uses: golangci/golangci-lint-action@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go 1.20
- name: Set up Go 1.21
uses: actions/setup-go@v4
with:
go-version: 1.20.x
go-version: 1.21.x
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
name: Build and Test
strategy:
matrix:
go: [1.19.x, 1.20.x]
go: [1.21.x, 1.22.x]
os: [ubuntu-22.04, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
# Load artifacts obtained with the most recent version of Go
- name: Upload build artifacts
uses: actions/upload-artifact@v3
if: matrix.go == '1.20.x'
if: matrix.go == '1.22.x'
with:
path: astartectl*
name: astartectl-snapshot-${{ matrix.os }}
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
golang 1.20.5
golang 1.21.9
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Changed
- Use Go 1.21 for releases.

## [23.5.1] - 2024-04-05
### Added
- Backport addition of `realm-management interfaces {sync, save}` to batch
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/astarte-platform/astartectl

go 1.20
go 1.21

require (
code.cloudfoundry.org/bytefmt v0.0.0-20211005130812-5bb3c17173e5
Expand Down

0 comments on commit c68f721

Please sign in to comment.