ci: update to go 1.21.8 and 1.22.1

Signed-off-by: Matthew Penner <me@matthewp.io>
This commit is contained in:
Matthew Penner 2024-03-12 21:43:50 -06:00
parent eadbe920fe
commit 27f3e76c77
No known key found for this signature in database
3 changed files with 5 additions and 5 deletions

View File

@ -16,7 +16,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-22.04]
go: ["1.20.12", "1.21.5"]
go: ["1.21.8", "1.22.1"]
goos: [linux]
goarch: [amd64, arm64]
@ -62,14 +62,14 @@ jobs:
- name: Upload Release Artifact
uses: actions/upload-artifact@v4
if: ${{ (github.ref == 'refs/heads/develop' || github.event_name == 'pull_request') && matrix.go == '1.20.12' }}
if: ${{ (github.ref == 'refs/heads/develop' || github.event_name == 'pull_request') && matrix.go == '1.21.8' }}
with:
name: wings_linux_${{ matrix.goarch }}
path: dist/wings
- name: Upload Debug Artifact
uses: actions/upload-artifact@v4
if: ${{ (github.ref == 'refs/heads/develop' || github.event_name == 'pull_request') && matrix.go == '1.20.12' }}
if: ${{ (github.ref == 'refs/heads/develop' || github.event_name == 'pull_request') && matrix.go == '1.21.8' }}
with:
name: wings_linux_${{ matrix.goarch }}_debug
path: dist/wings_debug

View File

@ -17,7 +17,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.20.12"
go-version: "1.21.8"
- name: Build release binaries
env:

View File

@ -1,5 +1,5 @@
# Stage 1 (Build)
FROM golang:1.20.12-alpine AS builder
FROM golang:1.21.8-alpine AS builder
ARG VERSION
RUN apk add --update --no-cache git make