From e79dcb6112482815fc9ea2d659f49eb15403c373 Mon Sep 17 00:00:00 2001 From: Spencer Schrock Date: Wed, 13 Sep 2023 10:42:28 -0700 Subject: [PATCH] :seedling: Upgrade to go 1.20 (#1262) * remove unneeded comment. the docker version is specified as a tag. The comment will just get outdated. Signed-off-by: Spencer Schrock * bump go to 1.20. at the minimum this is needed to upgrade sigstore/cosign/v2. Signed-off-by: Spencer Schrock --------- Signed-off-by: Spencer Schrock --- Dockerfile | 1 - go.mod | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index c2fb2326..a3eceecd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,7 +22,6 @@ # -e GITHUB_REPOSITORY="ossf/scorecard" \ # laurentsimon/scorecard-action:latest -#v1.19 go FROM golang:1.21.1@sha256:cffaba795c36f07e372c7191b35ceaae114d74c31c3763d442982e3a4df3b39e AS builder WORKDIR /src ENV CGO_ENABLED=0 diff --git a/go.mod b/go.mod index cfc6515b..54faa56b 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/ossf/scorecard-action -go 1.19 +go 1.20 require ( github.com/caarlos0/env/v6 v6.10.1