From b15e75c9ff16797011fb607c19a5e20c71e2f896 Mon Sep 17 00:00:00 2001 From: Nicholas Kumia Date: Fri, 4 Aug 2023 09:47:30 -0400 Subject: [PATCH] new: update go Fixes... Error: /home/runner/go/pkg/mod/github.com/quic-go/quic-go@v0.37.1/internal/qtls/go_oldversion.go:5:13: cannot use 'The version of quic-go you're using can't be built using outdated Go versions. For more details, please see https://github.com/quic-go/quic-go/wiki/quic-go-and-Go-versions.' (untyped string constant 'The version of quic-go you're using can't be built using outdated Go...) as int value in variable declaration also use the v4 of the action: https://github.com/actions/setup-go#v4 --- .github/workflows/enable-egress.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/enable-egress.yml b/.github/workflows/enable-egress.yml index b1cc63813..ec78febca 100644 --- a/.github/workflows/enable-egress.yml +++ b/.github/workflows/enable-egress.yml @@ -50,9 +50,9 @@ jobs: # trying to emulate: # https://github.com/GSA/cg-egress-proxy/blob/main/Dockerfile - name: build caddy - setup go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: - go-version: '1.19.5' # latest + go-version: 'stable' - name: build caddy - get xcaddy run: go install github.com/caddyserver/xcaddy/cmd/xcaddy@latest - name: build caddy - xcaddy build