Skip to content

Commit

Permalink
Merge pull request #235 from carvel-dev/bump-go-version-1.20.1
Browse files Browse the repository at this point in the history
Bump go version to 1.20.1
  • Loading branch information
joaopapereira committed Mar 2, 2023
2 parents 85962f9 + 1b22135 commit c9b34e0
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ jobs:
name: lint
runs-on: ubuntu-latest
steps:
- name: Install Go 1.19.5
- name: Install Go 1.20.1
uses: actions/setup-go@v3
with:
go-version: "1.19.5"
go-version: "1.20.1"
- uses: actions/checkout@v2
with:
fetch-depth: '0'
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.49.0
version: v1.51.2
args: -v

2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.19.5
go-version: 1.20.1
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@5e15885530fb01d81d1f24e8a6f54ebbd0fed7eb
if: startsWith(github.ref, 'refs/tags/')
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-gh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v1
with:
go-version: "1.19.5"
go-version: "1.20.1"
- name: Check out code into the Go module directory
uses: actions/checkout@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/trivy-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
with:
repo: carvel-dev/vendir
tool: vendir
goVersion: 1.19.5
goVersion: 1.20.1
secrets:
githubToken: ${{ secrets.GITHUB_TOKEN }}
slackWebhookURL: ${{ secrets.SLACK_WEBHOOK_URL }}
4 changes: 0 additions & 4 deletions cmd/vendir/vendir.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,14 @@ package main
import (
"io"
"log"
"math/rand"
"os"
"time"

uierrs "github.com/cppforlife/go-cli-ui/errors"
"github.com/cppforlife/go-cli-ui/ui"
"github.com/vmware-tanzu/carvel-vendir/pkg/vendir/cmd"
)

func main() {
rand.Seed(time.Now().UTC().UnixNano())

log.SetOutput(io.Discard)

// TODO logs
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/vmware-tanzu/carvel-vendir

go 1.19
go 1.20

require (
github.com/bmatcuk/doublestar v1.2.1
Expand Down

0 comments on commit c9b34e0

Please sign in to comment.