Skip to content

Commit c9b34e0

Browse files
Merge pull request #235 from carvel-dev/bump-go-version-1.20.1
Bump go version to 1.20.1
2 parents 85962f9 + 1b22135 commit c9b34e0

File tree

6 files changed

+7
-11
lines changed

6 files changed

+7
-11
lines changed

.github/workflows/golangci-lint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@ jobs:
1212
name: lint
1313
runs-on: ubuntu-latest
1414
steps:
15-
- name: Install Go 1.19.5
15+
- name: Install Go 1.20.1
1616
uses: actions/setup-go@v3
1717
with:
18-
go-version: "1.19.5"
18+
go-version: "1.20.1"
1919
- uses: actions/checkout@v2
2020
with:
2121
fetch-depth: '0'
2222
- name: golangci-lint
2323
uses: golangci/golangci-lint-action@v3
2424
with:
25-
version: v1.49.0
25+
version: v1.51.2
2626
args: -v
2727

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Set up Go
1919
uses: actions/setup-go@v2
2020
with:
21-
go-version: 1.19.5
21+
go-version: 1.20.1
2222
- name: Run GoReleaser
2323
uses: goreleaser/goreleaser-action@5e15885530fb01d81d1f24e8a6f54ebbd0fed7eb
2424
if: startsWith(github.ref, 'refs/tags/')

.github/workflows/test-gh.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Set up Go 1.x
1414
uses: actions/setup-go@v1
1515
with:
16-
go-version: "1.19.5"
16+
go-version: "1.20.1"
1717
- name: Check out code into the Go module directory
1818
uses: actions/checkout@v1
1919
with:

.github/workflows/trivy-scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
with:
1111
repo: carvel-dev/vendir
1212
tool: vendir
13-
goVersion: 1.19.5
13+
goVersion: 1.20.1
1414
secrets:
1515
githubToken: ${{ secrets.GITHUB_TOKEN }}
1616
slackWebhookURL: ${{ secrets.SLACK_WEBHOOK_URL }}

cmd/vendir/vendir.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,14 @@ package main
66
import (
77
"io"
88
"log"
9-
"math/rand"
109
"os"
11-
"time"
1210

1311
uierrs "github.com/cppforlife/go-cli-ui/errors"
1412
"github.com/cppforlife/go-cli-ui/ui"
1513
"github.com/vmware-tanzu/carvel-vendir/pkg/vendir/cmd"
1614
)
1715

1816
func main() {
19-
rand.Seed(time.Now().UTC().UnixNano())
20-
2117
log.SetOutput(io.Discard)
2218

2319
// TODO logs

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/vmware-tanzu/carvel-vendir
22

3-
go 1.19
3+
go 1.20
44

55
require (
66
github.com/bmatcuk/doublestar v1.2.1

0 commit comments

Comments
 (0)