ci: bump go version to 1.19

This commit is contained in:
Toby 2022-08-07 11:58:22 -07:00
parent 3e63cede8a
commit 562d8402f5
3 changed files with 4 additions and 4 deletions

View file

@ -30,7 +30,7 @@ jobs:
TIME: "${{ steps.current-time.outputs.time }}"
with:
xgo_version: latest
go_version: 1.18
go_version: 1.19
dest: dist
prefix: hysteria
targets: linux/amd64,linux/386,linux/arm-5,linux/arm-7,linux/arm64,linux/s390x,linux/mipsle,darwin-10.12/amd64,darwin-10.12/arm64,windows-6.0/amd64,windows-6.0/386

View file

@ -32,7 +32,7 @@ jobs:
TIME: "${{ steps.current-time.outputs.time }}"
with:
xgo_version: latest
go_version: 1.18
go_version: 1.19
dest: dist
prefix: hysteria-tun
targets: linux/amd64,linux/386,linux/arm-5,linux/arm-7,linux/arm64,linux/s390x,linux/mipsle,darwin-10.12/amd64,darwin-10.12/arm64,windows-6.0/amd64,windows-6.0/386
@ -40,7 +40,7 @@ jobs:
pkg: cmd
- name: Build (notun)
uses: tobyxdd/go-cross-build@6f4e7852e615d5499d1e223cd5e6e7569915b023
uses: tobyxdd/go-cross-build@d00fc41eb205f57dd90f6e5af4613e21c7ebe73f
env:
TIME: "${{ steps.current-time.outputs.time }}"
CGO_ENABLED: "0"

View file

@ -1,4 +1,4 @@
FROM golang:alpine AS builder
FROM golang:1.19-alpine AS builder
LABEL maintainer="mritd <mritd@linux.com>"