From fdcd4eaaceaedbd07a36e3bf3bbbb713ab38cd60 Mon Sep 17 00:00:00 2001 From: pg9182 <96569817+pg9182@users.noreply.github.com> Date: Thu, 14 Sep 2023 13:39:28 -0400 Subject: all: Update Go to 1.21 Will make use of generics and other new features in separate commits. --- .github/workflows/ci.yml | 4 ++-- docs/PRODUCTION.md | 2 +- go.mod | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a447cfb..b54cbab 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: os: ["windows-latest", "ubuntu-latest", "macOS-latest"] - go: ["1.19.x"] + go: ["1.21.x"] fail-fast: false steps: @@ -52,4 +52,4 @@ jobs: run: go vet ./... - name: Go staticcheck - run: go run honnef.co/go/tools/cmd/staticcheck@2022.1.3 ./... + run: go run honnef.co/go/tools/cmd/staticcheck@2023.1.6 ./... diff --git a/docs/PRODUCTION.md b/docs/PRODUCTION.md index 32a4852..81e1b06 100644 --- a/docs/PRODUCTION.md +++ b/docs/PRODUCTION.md @@ -6,7 +6,7 @@ This document describes the recommended setup for an non-containerized Atlas ser | Dependency | Version | Notes | | --- | --- | --- | -| go | 1.19+ | | +| go | 1.21.0+ | | | git | | for downloading code | | gcc | | other C compilers will work fine | | systemd | 250+ | 250 is needed for credentials to work
240 is needed for data directory stuff | diff --git a/go.mod b/go.mod index 8f5568c..db485e6 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/r2northstar/atlas -go 1.19 +go 1.21.0 require ( github.com/VictoriaMetrics/metrics v1.23.1 -- cgit v1.2.3