diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index af705e91..62d307cf 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -72,7 +72,7 @@ jobs: ${{ runner.os }}-go- - uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f #v2.1.5 with: - go-version: '1.17.x' + go-version: '1.19.x' - name: Run Go verify run: | go mod tidy && go mod verify diff --git a/Dockerfile b/Dockerfile index 6478f2ad..a09e8953 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,8 +22,8 @@ # -e GITHUB_REPOSITORY="ossf/scorecard" \ # laurentsimon/scorecard-action:latest -#v1.18 go -FROM golang@sha256:ea3d912d500b1ae0a691b2e53eb8a6345b579d42d7e6a64acca83d274b949740 AS base +#v1.19 go +FROM golang:1.19.2@sha256:c2a98a509c3d901aed78332fa0bf6144b4f9ac2bceff2bc77ddc6bc3b70276a5 AS builder WORKDIR /src ENV CGO_ENABLED=0 COPY go.* ./ diff --git a/go.mod b/go.mod index d11fee29..9868e863 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/ossf/scorecard-action -go 1.18 +go 1.19 require ( github.com/caarlos0/env/v6 v6.10.1