aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpg9182 <96569817+pg9182@users.noreply.github.com>2023-09-14 13:39:28 -0400
committerpg9182 <96569817+pg9182@users.noreply.github.com>2023-09-14 13:39:28 -0400
commitfdcd4eaaceaedbd07a36e3bf3bbbb713ab38cd60 (patch)
tree6a76446d0074bfaf6341af5bcaa71aab97953c44
parent33b11addca1bdf78ca9dae08dbf80bdcc66a19f0 (diff)
downloadAtlas-fdcd4eaaceaedbd07a36e3bf3bbbb713ab38cd60.tar.gz
Atlas-fdcd4eaaceaedbd07a36e3bf3bbbb713ab38cd60.zip
all: Update Go to 1.21
Will make use of generics and other new features in separate commits.
-rw-r--r--.github/workflows/ci.yml4
-rw-r--r--docs/PRODUCTION.md2
-rw-r--r--go.mod2
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 <br/> 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