Skip to content

Commit 287e4c6

Browse files
authored
Merge pull request #248 from whywaita/feat/upgrade-versions-202512
Upgrade versions
2 parents f0e965c + 7763ec0 commit 287e4c6

26 files changed

+220
-205
lines changed

.github/workflows/build-docker-sha.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,30 +10,30 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout
13-
uses: actions/checkout@v4
14-
- uses: docker/setup-qemu-action@v3
15-
- uses: docker/setup-buildx-action@v3
13+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
14+
- uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3.7.0
15+
- uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
1616
- name: Cache Docker layers
17-
uses: actions/cache@v3
17+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
1818
with:
1919
path: /tmp/.buildx-cache
2020
key: ${{ runner.os }}-buildx-${{ github.sha }}
2121
restore-keys: |
2222
${{ runner.os }}-buildx-
2323
- name: Login to GitHub Container Registry
24-
uses: docker/login-action@v3
24+
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
2525
with:
2626
registry: ghcr.io
2727
username: ${{ github.repository_owner }}
2828
password: ${{ secrets.GITHUB_TOKEN }}
29-
- uses: docker/metadata-action@v5
29+
- uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5.10.0
3030
id: meta
3131
with:
3232
images: ghcr.io/${{ github.repository_owner }}/myshoes
3333
tags: |
3434
type=sha
3535
- name: Build container image
36-
uses: docker/build-push-action@v5
36+
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
3737
with:
3838
push: true
3939
tags: ${{ steps.meta.outputs.tags }}

.github/workflows/release.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout
12-
uses: actions/checkout@v4
12+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
1313
with:
1414
fetch-depth: 0
1515
- name: Setup Go
16-
uses: actions/setup-go@v5
16+
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
1717
with:
1818
go-version-file: 'go.mod'
1919
- name: Run GoReleaser
20-
uses: goreleaser/goreleaser-action@v6
20+
uses: goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a # v6.4.0
2121
with:
2222
version: latest
2323
args: release --clean
@@ -27,16 +27,16 @@ jobs:
2727
runs-on: ubuntu-latest
2828
steps:
2929
- name: Checkout
30-
uses: actions/checkout@v4
31-
- uses: docker/setup-qemu-action@v3
32-
- uses: docker/setup-buildx-action@v3
30+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
31+
- uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3.7.0
32+
- uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
3333
- name: Login to GitHub Container Registry
34-
uses: docker/login-action@v3
34+
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
3535
with:
3636
registry: ghcr.io
3737
username: ${{ github.repository_owner }}
3838
password: ${{ secrets.GITHUB_TOKEN }}
39-
- uses: docker/metadata-action@v5
39+
- uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5.10.0
4040
id: meta
4141
with:
4242
images: ghcr.io/whywaita/myshoes
@@ -45,7 +45,7 @@ jobs:
4545
type=semver,pattern={{raw}}
4646
type=sha
4747
- name: Build container image
48-
uses: docker/build-push-action@v5
48+
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
4949
with:
5050
push: true
5151
tags: ${{ steps.meta.outputs.tags }}

.github/workflows/test.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ jobs:
1616
- ubuntu-latest
1717
steps:
1818
- name: checkout
19-
uses: actions/checkout@v4
19+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
2020
with:
2121
fetch-depth: 1
2222
- name: setup go
23-
uses: actions/setup-go@v5
23+
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
2424
with:
2525
go-version-file: 'go.mod'
2626
- name: lint
@@ -37,11 +37,11 @@ jobs:
3737
runs-on: ubuntu-latest
3838
steps:
3939
- name: checkout
40-
uses: actions/checkout@v4
40+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
4141
with:
4242
fetch-depth: 1
4343
- name: Build container image
44-
uses: docker/build-push-action@v5
44+
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
4545
with:
4646
push: false
4747
tags: ${{ steps.meta.outputs.tags }}

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.23 AS builder
1+
FROM golang:1.25 AS builder
22

33
WORKDIR /go/src/github.com/whywaita/myshoes
44

go.mod

Lines changed: 48 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,78 +1,86 @@
11
module github.com/whywaita/myshoes
22

3-
go 1.23
3+
go 1.25
44

55
require (
6-
github.com/bradleyfalzon/ghinstallation/v2 v2.11.0
7-
github.com/go-sql-driver/mysql v1.8.1
8-
github.com/golang-jwt/jwt/v4 v4.5.1
6+
github.com/bradleyfalzon/ghinstallation/v2 v2.17.0
7+
github.com/go-sql-driver/mysql v1.9.3
8+
github.com/golang-jwt/jwt/v4 v4.5.2
99
github.com/google/go-cmp v0.7.0
10-
github.com/google/go-github/v47 v47.1.0
11-
github.com/hashicorp/go-plugin v1.6.2
12-
github.com/hashicorp/go-version v1.7.0
10+
github.com/google/go-github/v80 v80.0.0
11+
github.com/hashicorp/go-plugin v1.7.0
12+
github.com/hashicorp/go-version v1.8.0
1313
github.com/jmoiron/sqlx v1.4.0
1414
github.com/m4ns0ur/httpcache v0.0.0-20200426190423-1040e2e8823f
15-
github.com/ory/dockertest/v3 v3.11.0
15+
github.com/ory/dockertest/v3 v3.12.0
1616
github.com/patrickmn/go-cache v2.1.0+incompatible
17-
github.com/prometheus/client_golang v1.22.0
17+
github.com/prometheus/client_golang v1.23.2
1818
github.com/r3labs/diff/v2 v2.15.1
1919
github.com/satori/go.uuid v1.2.0
2020
goji.io v2.0.2+incompatible
21-
golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c
22-
golang.org/x/oauth2 v0.24.0
23-
golang.org/x/sync v0.10.0
24-
google.golang.org/grpc v1.68.0
25-
google.golang.org/protobuf v1.36.5
21+
golang.org/x/oauth2 v0.32.0
22+
golang.org/x/sync v0.18.0
23+
google.golang.org/grpc v1.77.0
24+
google.golang.org/protobuf v1.36.10
2625
)
2726

2827
require (
29-
dario.cat/mergo v1.0.1 // indirect
28+
dario.cat/mergo v1.0.2 // indirect
3029
filippo.io/edwards25519 v1.1.0 // indirect
31-
github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect
30+
github.com/Azure/go-ansiterm v0.0.0-20250102033503-faa5f7b0171c // indirect
3231
github.com/Microsoft/go-winio v0.6.2 // indirect
3332
github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5 // indirect
3433
github.com/beorn7/perks v1.0.1 // indirect
3534
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
3635
github.com/cespare/xxhash/v2 v2.3.0 // indirect
37-
github.com/containerd/continuity v0.4.4 // indirect
38-
github.com/docker/cli v27.3.1+incompatible // indirect
39-
github.com/docker/docker v27.3.1+incompatible // indirect
40-
github.com/docker/go-connections v0.5.0 // indirect
36+
github.com/containerd/continuity v0.4.5 // indirect
37+
github.com/containerd/errdefs v1.0.0 // indirect
38+
github.com/containerd/errdefs/pkg v0.3.0 // indirect
39+
github.com/distribution/reference v0.6.0 // indirect
40+
github.com/docker/cli v29.1.2+incompatible // indirect
41+
github.com/docker/go-connections v0.6.0 // indirect
4142
github.com/docker/go-units v0.5.0 // indirect
4243
github.com/fatih/color v1.18.0 // indirect
43-
github.com/go-viper/mapstructure/v2 v2.2.1 // indirect
44-
github.com/gogo/protobuf v1.3.2 // indirect
44+
github.com/felixge/httpsnoop v1.0.4 // indirect
45+
github.com/go-logr/logr v1.4.3 // indirect
46+
github.com/go-logr/stdr v1.2.2 // indirect
47+
github.com/go-viper/mapstructure/v2 v2.4.0 // indirect
4548
github.com/golang/protobuf v1.5.4 // indirect
46-
github.com/google/go-github/v62 v62.0.0 // indirect
49+
github.com/google/go-github/v75 v75.0.0 // indirect
4750
github.com/google/go-querystring v1.1.0 // indirect
4851
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
4952
github.com/hashicorp/go-hclog v1.6.3 // indirect
5053
github.com/hashicorp/yamux v0.1.2 // indirect
51-
github.com/kr/text v0.2.0 // indirect
52-
github.com/mattn/go-colorable v0.1.13 // indirect
54+
github.com/mattn/go-colorable v0.1.14 // indirect
5355
github.com/mattn/go-isatty v0.0.20 // indirect
5456
github.com/moby/docker-image-spec v1.3.1 // indirect
55-
github.com/moby/sys/user v0.3.0 // indirect
56-
github.com/moby/term v0.5.0 // indirect
57+
github.com/moby/moby/api v1.52.0 // indirect
58+
github.com/moby/moby/client v0.2.1 // indirect
59+
github.com/moby/sys/user v0.4.0 // indirect
60+
github.com/moby/term v0.5.2 // indirect
5761
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
58-
github.com/oklog/run v1.1.0 // indirect
62+
github.com/oklog/run v1.2.0 // indirect
5963
github.com/opencontainers/go-digest v1.0.0 // indirect
60-
github.com/opencontainers/image-spec v1.1.0 // indirect
61-
github.com/opencontainers/runc v1.2.1 // indirect
62-
github.com/pkg/errors v0.9.1 // indirect
63-
github.com/prometheus/client_model v0.6.1 // indirect
64-
github.com/prometheus/common v0.62.0 // indirect
65-
github.com/prometheus/procfs v0.15.1 // indirect
64+
github.com/opencontainers/image-spec v1.1.1 // indirect
65+
github.com/opencontainers/runc v1.2.3 // indirect
66+
github.com/prometheus/client_model v0.6.2 // indirect
67+
github.com/prometheus/common v0.66.1 // indirect
68+
github.com/prometheus/procfs v0.16.1 // indirect
6669
github.com/sirupsen/logrus v1.9.3 // indirect
6770
github.com/vmihailenco/msgpack v4.0.4+incompatible // indirect
6871
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect
6972
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
7073
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
71-
golang.org/x/crypto v0.31.0 // indirect
72-
golang.org/x/net v0.33.0 // indirect
73-
golang.org/x/sys v0.30.0 // indirect
74-
golang.org/x/text v0.21.0 // indirect
74+
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
75+
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.63.0 // indirect
76+
go.opentelemetry.io/otel v1.38.0 // indirect
77+
go.opentelemetry.io/otel/metric v1.38.0 // indirect
78+
go.opentelemetry.io/otel/trace v1.38.0 // indirect
79+
go.yaml.in/yaml/v2 v2.4.2 // indirect
80+
golang.org/x/net v0.47.0 // indirect
81+
golang.org/x/sys v0.38.0 // indirect
82+
golang.org/x/text v0.31.0 // indirect
7583
google.golang.org/appengine v1.6.8 // indirect
76-
google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28 // indirect
77-
gopkg.in/yaml.v2 v2.4.0 // indirect
84+
google.golang.org/genproto/googleapis/rpc v0.0.0-20251202230838-ff82c1b0f217 // indirect
85+
gopkg.in/yaml.v3 v3.0.1 // indirect
7886
)

0 commit comments

Comments
 (0)