From 5a532f77dcefa4828ddf8701826cd8e77e3c1c25 Mon Sep 17 00:00:00 2001 From: moloch-- <875022+moloch--@users.noreply.github.com> Date: Wed, 9 Aug 2023 15:58:36 -0700 Subject: [PATCH] Go v1.21.0 --- .github/workflows/autorelease.yml | 8 ++++---- .github/workflows/codeql-scanning.yml | 4 ++-- .github/workflows/unit-tests.yml | 12 ++++++------ Dockerfile | 2 +- go-assets.sh | 4 ++-- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/autorelease.yml b/.github/workflows/autorelease.yml index 85e52a5845..e7854c9a9f 100644 --- a/.github/workflows/autorelease.yml +++ b/.github/workflows/autorelease.yml @@ -11,10 +11,10 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 45 steps: - - name: Go 1.20 + - name: Go 1.21 uses: actions/setup-go@v4 with: - go-version: "^1.20" + go-version: "^1.21" - name: OS Packages run: | @@ -42,10 +42,10 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 45 steps: - - name: Go 1.20 + - name: Go 1.21 uses: actions/setup-go@v4 with: - go-version: "^1.20" + go-version: "^1.21" - name: Check Out Code uses: actions/checkout@v3 diff --git a/.github/workflows/codeql-scanning.yml b/.github/workflows/codeql-scanning.yml index 9237506e7b..76d835d401 100644 --- a/.github/workflows/codeql-scanning.yml +++ b/.github/workflows/codeql-scanning.yml @@ -16,10 +16,10 @@ jobs: steps: # Setup go environment - - name: Go 1.20 + - name: Go 1.21 uses: actions/setup-go@v4 with: - go-version: "^1.20" + go-version: "^1.21" - name: Checkout repository uses: actions/checkout@v3 diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 6e40bafc07..6975b7dff8 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -15,10 +15,10 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 90 steps: - - name: Go 1.20 + - name: Go 1.21 uses: actions/setup-go@v4 with: - go-version: "^1.20" + go-version: "^1.21" - name: OS Packages run: | @@ -49,10 +49,10 @@ jobs: runs-on: macos-latest timeout-minutes: 90 steps: - - name: Go 1.20 + - name: Go 1.21 uses: actions/setup-go@v4 with: - go-version: "^1.20" + go-version: "^1.21" - name: Mingw run: brew install mingw-w64 @@ -80,10 +80,10 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 90 steps: - - name: Go 1.20 + - name: Go 1.21 uses: actions/setup-go@v4 with: - go-version: "^1.20" + go-version: "^1.21" - name: Check Out Code uses: actions/checkout@v3 diff --git a/Dockerfile b/Dockerfile index edc2c0a9d4..8479e565b5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.20.7 +FROM golang:1.21 # # IMPORTANT: This Dockerfile is used for testing, I do not recommend deploying diff --git a/go-assets.sh b/go-assets.sh index 1f693f3211..baf65fb54e 100755 --- a/go-assets.sh +++ b/go-assets.sh @@ -20,8 +20,8 @@ set -e # Creates the static go asset archives -GO_VER="1.20.7" -GARBLE_VER="1.20.7" +GO_VER="1.21.0" +GARBLE_VER="1.21.0" SGN_VER="0.0.3" BLOAT_FILES="AUTHORS CONTRIBUTORS PATENTS VERSION favicon.ico robots.txt SECURITY.md CONTRIBUTING.md LICENSE README.md ./doc ./test ./api ./misc"