Skip to content

Commit

Permalink
🌱 Upgrade to go 1.19
Browse files Browse the repository at this point in the history
- Upgrade to go 1.19

Signed-off-by: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com>
  • Loading branch information
naveensrinivasan committed Oct 8, 2022
1 parent c3d8fd9 commit 8a1c8fb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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.* ./
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 8a1c8fb

Please sign in to comment.