Skip to content

Commit

Permalink
Bump things to 1.18
Browse files Browse the repository at this point in the history
  • Loading branch information
jonjohnsonjr committed Dec 12, 2022
1 parent 76965fe commit abe5396
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 82 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

strategy:
matrix:
go-version: [1.18] # TODO: add 1.19
go-version: [1.18, 1.19] # TODO: add 1.20

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
run: git fetch --prune --unshallow
- uses: actions/setup-go@v3
with:
go-version: 1.17
go-version: 1.18
check-latest: true
- uses: goreleaser/goreleaser-action@v3.2.0
id: run-goreleaser
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
test:
strategy:
matrix:
go-version: [1.18] # TODO: add 1.19
go-version: [1.18, 1.19] # TODO: add 1.20

name: Unit Tests
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion cmd/crane/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ package main
import (
"context"
"os"
"os/signal"

"github.com/google/go-containerregistry/cmd/crane/cmd"
"github.com/google/go-containerregistry/internal/signal"
"github.com/google/go-containerregistry/pkg/logs"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/gcrane/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ package main
import (
"context"
"os"
"os/signal"

"github.com/google/go-containerregistry/cmd/crane/cmd"
gcmd "github.com/google/go-containerregistry/cmd/gcrane/cmd"
"github.com/google/go-containerregistry/internal/signal"
"github.com/google/go-containerregistry/pkg/crane"
"github.com/google/go-containerregistry/pkg/gcrane"
"github.com/google/go-containerregistry/pkg/logs"
Expand Down
8 changes: 4 additions & 4 deletions hack/bump-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,22 @@ pushd ${PROJECT_ROOT}
trap popd EXIT

go get -u ./...
go mod tidy -compat=1.17
go mod tidy -compat=1.18
go mod vendor

cd ${PROJECT_ROOT}/pkg/authn/k8schain
go get -u ./...
go mod tidy -compat=1.17
go mod tidy -compat=1.18
go mod download

cd ${PROJECT_ROOT}/pkg/authn/kubernetes
go get -u ./...
go mod tidy -compat=1.17
go mod tidy -compat=1.18
go mod download

cd ${PROJECT_ROOT}/cmd/krane
go get -u ./...
go mod tidy -compat=1.17
go mod tidy -compat=1.18
go mod download

cd ${PROJECT_ROOT}
Expand Down
30 changes: 0 additions & 30 deletions internal/signal/go116.go

This file was deleted.

43 changes: 0 additions & 43 deletions internal/signal/signal.go

This file was deleted.

0 comments on commit abe5396

Please sign in to comment.