Skip to content

Commit bcb1035

Browse files
committed
Attempt to revive CI
Signed-off-by: Jon Johnson <[email protected]>
1 parent 808e354 commit bcb1035

File tree

228 files changed

+32336
-8706
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

228 files changed

+32336
-8706
lines changed

.github/workflows/boilerplate.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Check out code
2828
uses: actions/checkout@v4
2929

30-
- uses: chainguard-dev/actions/boilerplate@5e21cb47971231c078a677dfe89a348371cb880c # main
30+
- uses: chainguard-dev/actions/boilerplate@04b3d27d680c065e8aaaa71edabf37da0ad4ac3d # main
3131
with:
3232
extension: ${{ matrix.extension }}
3333
language: ${{ matrix.language }}

.github/workflows/build.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
go-version: [1.19, 1.20]
15+
go-version: [1.22, 1.23]
1616

1717
steps:
1818
- uses: actions/checkout@v4

.github/workflows/bump-deps.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- uses: actions/checkout@v4
2222
- uses: actions/setup-go@v5
2323
with:
24-
go-version: 1.19
24+
go-version: 1.22
2525
check-latest: true
2626

2727
- run: ./hack/bump-deps.sh

.github/workflows/donotsubmit.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ jobs:
1212

1313
steps:
1414
- uses: actions/checkout@v4
15-
- uses: chainguard-dev/actions/donotsubmit@5e21cb47971231c078a677dfe89a348371cb880c # main
15+
- uses: chainguard-dev/actions/donotsubmit@04b3d27d680c065e8aaaa71edabf37da0ad4ac3d # main

.github/workflows/e2e.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- uses: actions/checkout@v4
2020
- uses: actions/setup-go@v5
2121
with:
22-
go-version: 1.19
22+
go-version: 1.22
2323
check-latest: true
2424

2525
- name: crane append to an image, set the entrypoint, run it locally, roundtrip it

.github/workflows/ecr-auth.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- uses: actions/checkout@v4
2222
- uses: actions/setup-go@v5
2323
with:
24-
go-version: 1.19
24+
go-version: 1.22
2525
check-latest: true
2626

2727
- name: Install krane
@@ -61,7 +61,7 @@ jobs:
6161
- uses: actions/checkout@v4
6262
- uses: actions/setup-go@v5
6363
with:
64-
go-version: 1.19
64+
go-version: 1.22
6565
check-latest: true
6666

6767
- name: Install crane

.github/workflows/ghcr-auth.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- uses: actions/checkout@v4
1818
- uses: actions/setup-go@v5
1919
with:
20-
go-version: 1.19
20+
go-version: 1.22
2121
check-latest: true
2222

2323
- name: Install krane

.github/workflows/presubmit.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ jobs:
2929
- uses: actions/checkout@v4
3030
- uses: actions/setup-go@v5
3131
with:
32-
go-version: 1.19
32+
go-version: 1.22
3333
check-latest: true
3434
- run: ./hack/presubmit.sh

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
run: git fetch --prune --unshallow
1616
- uses: actions/setup-go@v5
1717
with:
18-
go-version: 1.21
18+
go-version: 1.22
1919
check-latest: true
2020
- uses: goreleaser/[email protected]
2121
id: run-goreleaser

.github/workflows/style.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
steps:
1313
- uses: actions/setup-go@v5
1414
with:
15-
go-version: 1.19
15+
go-version: 1.22
1616
check-latest: true
1717
- uses: actions/checkout@v4
18-
- uses: chainguard-dev/actions/goimports@5e21cb47971231c078a677dfe89a348371cb880c # main
18+
- uses: chainguard-dev/actions/goimports@04b3d27d680c065e8aaaa71edabf37da0ad4ac3d # main
1919

2020
lint:
2121
name: Lint
@@ -25,7 +25,7 @@ jobs:
2525
- uses: actions/checkout@v4
2626
- uses: actions/setup-go@v5
2727
with:
28-
go-version: 1.19
28+
go-version: 1.22
2929
check-latest: true
3030

3131
- uses: golangci/[email protected]
@@ -40,10 +40,10 @@ jobs:
4040
locale: "US"
4141
exclude: ./vendor/*
4242

43-
- uses: chainguard-dev/actions/trailing-space@5e21cb47971231c078a677dfe89a348371cb880c # main
43+
- uses: chainguard-dev/actions/trailing-space@04b3d27d680c065e8aaaa71edabf37da0ad4ac3d # main
4444
if: ${{ always() }}
4545

46-
- uses: chainguard-dev/actions/eof-newline@5e21cb47971231c078a677dfe89a348371cb880c # main
46+
- uses: chainguard-dev/actions/eof-newline@04b3d27d680c065e8aaaa71edabf37da0ad4ac3d # main
4747
if: ${{ always() }}
4848

4949
- uses: get-woke/woke-action-reviewdog@v0

.github/workflows/test.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
test:
1212
strategy:
1313
matrix:
14-
go-version: [1.19, '1.20']
14+
go-version: [1.22, 1.23]
1515

1616
name: Unit Tests
1717
runs-on: ubuntu-latest

go.mod

+9-7
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,23 @@
11
module github.com/google/go-containerregistry
22

3-
go 1.18
3+
go 1.22.0
4+
5+
toolchain go1.23.0
46

57
require (
68
github.com/containerd/stargz-snapshotter/estargz v0.14.3
79
github.com/docker/cli v27.1.1+incompatible
810
github.com/docker/distribution v2.8.2+incompatible
911
github.com/docker/docker v24.0.0+incompatible
10-
github.com/google/go-cmp v0.5.9
12+
github.com/google/go-cmp v0.6.0
1113
github.com/klauspost/compress v1.16.5
1214
github.com/mitchellh/go-homedir v1.1.0
1315
github.com/opencontainers/go-digest v1.0.0
1416
github.com/opencontainers/image-spec v1.1.0-rc3
1517
github.com/spf13/cobra v1.7.0
1618
golang.org/x/oauth2 v0.8.0
17-
golang.org/x/sync v0.2.0
18-
golang.org/x/tools v0.9.1
19+
golang.org/x/sync v0.8.0
20+
golang.org/x/tools v0.26.0
1921
)
2022

2123
require (
@@ -36,9 +38,9 @@ require (
3638
github.com/sirupsen/logrus v1.9.1 // indirect
3739
github.com/spf13/pflag v1.0.5 // indirect
3840
github.com/vbatts/tar-split v0.11.3 // indirect
39-
golang.org/x/mod v0.10.0 // indirect
40-
golang.org/x/net v0.17.0 // indirect
41-
golang.org/x/sys v0.15.0 // indirect
41+
golang.org/x/mod v0.21.0 // indirect
42+
golang.org/x/net v0.30.0 // indirect
43+
golang.org/x/sys v0.26.0 // indirect
4244
golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac // indirect
4345
google.golang.org/appengine v1.6.7 // indirect
4446
google.golang.org/protobuf v1.30.0 // indirect

go.sum

+13-12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

hack/presubmit.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export PATH="${PATH}:${TMP_DIR}/bin"
2626
export GOPATH="${TMP_DIR}"
2727
pushd ${TMP_DIR}
2828
trap popd EXIT
29-
go install honnef.co/go/tools/cmd/staticcheck@v0.3.3
29+
go install honnef.co/go/tools/cmd/staticcheck@v0.5.1
3030
popd
3131

3232
pushd ${PROJECT_ROOT}

vendor/github.com/google/go-cmp/cmp/cmpopts/equate.go

+39-10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)