diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 2283b699..f8291164 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -20,7 +20,7 @@ jobs: name: Lint uses: flyteorg/flytetools/.github/workflows/lint.yml@master with: - go-version: 1.18 + go-version: 1.19 tests: name: Unit Tests @@ -28,13 +28,13 @@ jobs: secrets: FLYTE_BOT_PAT: ${{ secrets.FLYTE_BOT_PAT }} with: - go-version: 1.18 + go-version: 1.19 generate: name: Check Go Gennerate uses: flyteorg/flytetools/.github/workflows/go_generate.yml@master with: - go-version: 1.18 + go-version: 1.19 dry_run_goreleaser: name: Dry Run Goreleaser @@ -52,7 +52,7 @@ jobs: key: ${{ runner.os }}-go-${{ hashFiles('go.sum') }} - uses: actions/setup-go@v3 with: - go-version: '1.18' + go-version: '1.19' - name: Run GoReleaser dry run uses: goreleaser/goreleaser-action@v2 with: @@ -74,7 +74,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.18 + go-version: 1.19 - name: Build Flytectl binary run: make compile - name: Create a sandbox cluster @@ -104,7 +104,7 @@ jobs: lfs: true - uses: actions/setup-go@v1 with: - go-version: '1.18' + go-version: '1.19' - uses: actions/setup-python@v1 with: python-version: 3.8 diff --git a/go.mod b/go.mod index 28b02e02..7204ca0e 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/flyteorg/flytectl -go 1.18 +go 1.19 require ( github.com/awalterschulze/gographviz v2.0.3+incompatible diff --git a/pkg/docker/imagepullpolicy_enumer.go b/pkg/docker/imagepullpolicy_enumer.go index a5f09b9e..9a44dc09 100644 --- a/pkg/docker/imagepullpolicy_enumer.go +++ b/pkg/docker/imagepullpolicy_enumer.go @@ -1,6 +1,5 @@ // Code generated by "enumer -type=ImagePullPolicy -trimprefix=ImagePullPolicy --json"; DO NOT EDIT. -// package docker import ( diff --git a/pkg/printer/outputformat_enumer.go b/pkg/printer/outputformat_enumer.go index ab56b2a0..9085e920 100644 --- a/pkg/printer/outputformat_enumer.go +++ b/pkg/printer/outputformat_enumer.go @@ -1,6 +1,5 @@ // Code generated by "enumer --type=OutputFormat -json -yaml -trimprefix=OutputFormat"; DO NOT EDIT. -// package printer import (