From 562d8402f50559000ba72750e78a9f21dd44a760 Mon Sep 17 00:00:00 2001 From: Toby <tobyxdd@gmail.com> Date: Sun, 7 Aug 2022 11:58:22 -0700 Subject: [PATCH] ci: bump go version to 1.19 --- .github/workflows/build-master.yml | 2 +- .github/workflows/release.yml | 4 ++-- Dockerfile | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-master.yml b/.github/workflows/build-master.yml index bbd140a..289bcd5 100644 --- a/.github/workflows/build-master.yml +++ b/.github/workflows/build-master.yml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index df4cd37..dc09777 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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" diff --git a/Dockerfile b/Dockerfile index 250b002..41d3a94 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:alpine AS builder +FROM golang:1.19-alpine AS builder LABEL maintainer="mritd <mritd@linux.com>"