Skip to content

Commit 7efda36

Browse files
Merge pull request #7 from codeperfio/go.update
Updated goreleaser action to v5. updated go version to 1.21
2 parents 974f011 + fcc5f32 commit 7efda36

File tree

4 files changed

+39
-6
lines changed

4 files changed

+39
-6
lines changed

.github/workflows/build.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
build:
1313
strategy:
1414
matrix:
15-
go-version: [1.17.x]
15+
go-version: [1.21.x]
1616
os: [ubuntu-latest]
1717
runs-on: ${{ matrix.os }}
1818
steps:

.github/workflows/publish.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
name: Set up Go
2222
uses: actions/setup-go@v2
2323
with:
24-
go-version: 1.17
24+
go-version: 1.21
2525
-
2626
name: Run GoReleaser
27-
uses: goreleaser/goreleaser-action@v2
27+
uses: goreleaser/goreleaser-action@v5
2828
with:
2929
distribution: goreleaser
3030
version: ${{ env.GITHUB_REF_NAME }}

go.mod

+35-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,44 @@
11
module github.com/codeperfio/codeperf
22

3-
go 1.16
3+
go 1.21
44

55
require (
66
github.com/go-git/go-git/v5 v5.4.2
77
github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1
8-
github.com/sergi/go-diff v1.2.0 // indirect
98
github.com/spf13/cobra v1.2.1
109
github.com/spf13/viper v1.9.0
1110
)
11+
12+
require (
13+
github.com/Microsoft/go-winio v0.4.16 // indirect
14+
github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7 // indirect
15+
github.com/acomagu/bufpipe v1.0.3 // indirect
16+
github.com/emirpasic/gods v1.12.0 // indirect
17+
github.com/fsnotify/fsnotify v1.5.1 // indirect
18+
github.com/go-git/gcfg v1.5.0 // indirect
19+
github.com/go-git/go-billy/v5 v5.3.1 // indirect
20+
github.com/hashicorp/hcl v1.0.0 // indirect
21+
github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639 // indirect
22+
github.com/imdario/mergo v0.3.12 // indirect
23+
github.com/inconshreveable/mousetrap v1.0.0 // indirect
24+
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
25+
github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351 // indirect
26+
github.com/magiconair/properties v1.8.5 // indirect
27+
github.com/mitchellh/go-homedir v1.1.0 // indirect
28+
github.com/mitchellh/mapstructure v1.4.2 // indirect
29+
github.com/pelletier/go-toml v1.9.4 // indirect
30+
github.com/sergi/go-diff v1.2.0 // indirect
31+
github.com/spf13/afero v1.6.0 // indirect
32+
github.com/spf13/cast v1.4.1 // indirect
33+
github.com/spf13/jwalterweatherman v1.1.0 // indirect
34+
github.com/spf13/pflag v1.0.5 // indirect
35+
github.com/subosito/gotenv v1.2.0 // indirect
36+
github.com/xanzy/ssh-agent v0.3.0 // indirect
37+
golang.org/x/crypto v0.0.0-20210817164053-32db794688a5 // indirect
38+
golang.org/x/net v0.0.0-20210503060351-7fd8e65b6420 // indirect
39+
golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf // indirect
40+
golang.org/x/text v0.3.6 // indirect
41+
gopkg.in/ini.v1 v1.63.2 // indirect
42+
gopkg.in/warnings.v0 v0.1.2 // indirect
43+
gopkg.in/yaml.v2 v2.4.0 // indirect
44+
)

scripts/hash.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/sh
22

3-
for f in bin/pprof-*; do shasum -a 256 $f > $f.sha256; done
3+
for f in bin/codeperf-*; do shasum -a 256 $f > $f.sha256; done

0 commit comments

Comments
 (0)