File tree Expand file tree Collapse file tree 5 files changed +44
-319
lines changed Expand file tree Collapse file tree 5 files changed +44
-319
lines changed Original file line number Diff line number Diff line change @@ -12,15 +12,15 @@ jobs:
1212 runs-on : ubuntu-latest
1313 steps :
1414 - name : Checkout
15- uses : actions/checkout@v2
15+ uses : actions/checkout@v4
1616 with :
1717 fetch-depth : 1
1818 - name : Setup Go
19- uses : actions/setup-go@v1
19+ uses : actions/setup-go@v5
2020 with :
21- go-version : 1.16
21+ go-version : ' 1.22.1 '
2222 - name : Run GoReleaser
23- uses : goreleaser/goreleaser-action@v1
23+ uses : goreleaser/goreleaser-action@v5
2424 with :
2525 version : latest
2626 args : release --rm-dist
3030 name : Push Docker image to GitHub Packages
3131 runs-on : ubuntu-latest
3232 steps :
33- - uses : actions/checkout@v2
33+ - uses : actions/checkout@v4
3434 with :
3535 fetch-depth : 1
3636
@@ -48,15 +48,15 @@ jobs:
4848
4949 - name : Login
5050 if : github.event_name != 'pull_request'
51- uses : docker/login-action@v1
51+ uses : docker/login-action@v3
5252 with :
5353 registry : ghcr.io
5454 username : ${{ github.repository_owner }}
5555 password : ${{ secrets.GITHUB_TOKEN }}
5656
5757 - name : Build and Push to GitHub Packages
5858 if : github.event_name != 'pull_request'
59- uses : docker/build-push-action@v2
59+ uses : docker/build-push-action@v5
6060 with :
6161 push : true
6262 tags : |
Original file line number Diff line number Diff line change 1- FROM golang:1.16 as builder
1+ FROM golang:1.22.1 as builder
22
33FROM builder as build
44WORKDIR /connperf
Original file line number Diff line number Diff line change 11module github.com/yuuki/connperf
22
3- go 1.16
3+ go 1.22.1
44
55require (
66 github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475
7- github.com/spf13/cobra v1.1.1
8- go.uber.org/ratelimit v0.2.0
9- golang.org/x/sync v0.0.0-20190423024810-112230192c58
10- golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0
11- golang.org/x/time v0.0.0-20190308202827-9d24e82272b4
12- golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7
7+ github.com/spf13/cobra v1.8.0
8+ go.uber.org/ratelimit v0.3.0
9+ golang.org/x/sync v0.6.0
10+ golang.org/x/sys v0.18.0
11+ golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028
12+ )
13+
14+ require (
15+ github.com/benbjohnson/clock v1.3.0 // indirect
16+ github.com/inconshreveable/mousetrap v1.1.0 // indirect
17+ github.com/spf13/pflag v1.0.5 // indirect
1318)
You can’t perform that action at this time.
0 commit comments