From dd66b54e93ab9246e172183adbea8077a9ec7ec8 Mon Sep 17 00:00:00 2001 From: Brandon Mitchell Date: Wed, 27 Sep 2023 20:53:45 -0400 Subject: [PATCH] Test older versions of Go with toolchain=local Signed-off-by: Brandon Mitchell --- .github/workflows/docs-and-linting.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/docs-and-linting.yml b/.github/workflows/docs-and-linting.yml index 248791c0a..b99476b78 100644 --- a/.github/workflows/docs-and-linting.yml +++ b/.github/workflows/docs-and-linting.yml @@ -25,6 +25,8 @@ jobs: - name: Render and Lint env: GOPATH: /home/runner/work/image-spec/image-spec/go + # do not automatically upgrade go to a different version: https://go.dev/doc/toolchain + GOTOOLCHAIN: local run: | export PATH=$GOPATH/bin:$PATH cd go/src/github.com/opencontainers/image-spec