Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Apr 15, 2025. It is now read-only.
/vulcanizerPublic archive

Commit3a9d57f

Browse files
authored
Merge pull request#109 from github/hoenn/upgrade-go-versions
Update go version in mod and workflows
2 parents061c97d +5aa4c1f commit3a9d57f

File tree

7 files changed

+30
-23
lines changed

7 files changed

+30
-23
lines changed

‎.github/workflows/golangci-lint.yml‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,17 @@ jobs:
1616
name:lint
1717
runs-on:ubuntu-latest
1818
steps:
19-
-name:Set up Go 1.15
20-
uses:actions/setup-go@v4
19+
-name:Checkout project
20+
uses:actions/checkout@v4
21+
-name:Setup Go
22+
uses:actions/setup-go@v5
2123
with:
22-
go-version:'1.15'
23-
-uses:actions/checkout@v2
24+
go-version:'1.22'
2425
-name:golangci-lint
2526
uses:golangci/golangci-lint-action@v3.7.0
2627
with:
2728
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
28-
version:v1.46.2
29+
version:v1.55.2
2930

3031
# Optional: working directory, useful for monorepos
3132
# working-directory: somedir

‎.github/workflows/releases.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616
fetch-depth:0
1717
-
1818
name:Set up Go
19-
uses:actions/setup-go@v2
19+
uses:actions/setup-go@v5
2020
with:
21-
go-version:1.17
21+
go-version:1.22
2222
-
2323
name:Run GoReleaser
2424
uses:goreleaser/goreleaser-action@v2

‎.github/workflows/workflow.yml‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,15 @@ jobs:
66
runs-on:ubuntu-latest
77
strategy:
88
matrix:
9-
go:[ '1.15.x', '1.16.x', '1.17.x' ]
9+
go:[ '1.22.x' ]
1010
name:Vulcanizer tests against go version ${{ matrix.go }}
1111
steps:
1212
-uses:actions/checkout@v2
1313
-name:Setup go
14-
uses:actions/setup-go@v2
14+
uses:actions/setup-go@v5
1515
with:
1616
go-version:${{ matrix.go }}
1717
-name:Run tests
1818
run:|
19-
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $GOROOT/bin v1.46.2
2019
sudo sysctl -w vm.max_map_count=262144
2120
script/integration-test

‎.golangci.yaml‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ linters-settings:
1313

1414
linters:
1515
enable:
16-
-depguard
1716
-errcheck
17+
-errorlint
1818
-exportloopref
1919
-gocritic
2020
-gocyclo
@@ -27,14 +27,15 @@ linters:
2727
-misspell
2828
-nakedret
2929
-prealloc
30-
-revive
3130
-staticcheck
3231
-typecheck
3332
-unconvert
3433
-unused
34+
-revive
35+
-reassign
36+
-unparam
3537
disable:
3638
-gochecknoglobals# we allow global variables in packages
3739
-gochecknoinits# we allow inits in packages
3840
-goconst# we allow repeated values to go un-const'd
3941
-lll# we allow any line length
40-
-unparam# we allow function calls to name unused parameters

‎go.mod‎

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
modulegithub.com/github/vulcanizer
22

3-
go1.15
3+
go1.22
44

55
require (
66
github.com/elazarl/goproxyv0.0.0-20191011121108-aa519ddbe484// indirect
@@ -21,9 +21,19 @@ require (
2121
github.com/spf13/viperv1.7.1
2222
github.com/tidwall/gjsonv1.11.0
2323
golang.org/x/netv0.0.0-20200927032502-5d4f70055728// indirect
24-
golang.org/x/sysv0.0.0-20220808155132-1c4a2a72c664// indirect
24+
golang.org/x/sysv0.13.0// indirect
2525
gopkg.in/ini.v1v1.61.0// indirect
2626
gopkg.in/yaml.v2v2.3.0// indirect
2727
gotest.toolsv2.2.0+incompatible
2828
moul.io/http2curlv1.0.0// indirect
2929
)
30+
31+
require (
32+
github.com/google/go-cmpv0.3.0// indirect
33+
github.com/hashicorp/hclv1.0.0// indirect
34+
github.com/inconshreveable/mousetrapv1.0.0// indirect
35+
github.com/subosito/gotenvv1.2.0// indirect
36+
github.com/tidwall/matchv1.1.1// indirect
37+
github.com/tidwall/prettyv1.2.0// indirect
38+
golang.org/x/textv0.13.0// indirect
39+
)

‎go.sum‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZm
4141
github.com/dgryski/go-sip13v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no=
4242
github.com/elazarl/goproxyv0.0.0-20191011121108-aa519ddbe484 h1:pEtiCjIXx3RvGjlUJuCNxNOw0MNblyR9Wi+vJGBFh+8=
4343
github.com/elazarl/goproxyv0.0.0-20191011121108-aa519ddbe484/go.mod h1:Ro8st/ElPeALwNFlcTpWmkr6IoMFfkjXAvTHpevnDsM=
44-
github.com/elazarl/goproxy/extv0.0.0-20190711103511-473e67f1d7d2 h1:dWB6v3RcOy03t/bUadywsbyrQwCqZeNIEX6M1OtSZOM=
4544
github.com/elazarl/goproxy/extv0.0.0-20190711103511-473e67f1d7d2/go.mod h1:gNh8nYJoAm43RfaxurUnxr+N1PwuFV3ZMl/efxlIlY8=
4645
github.com/fatih/colorv1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4=
4746
github.com/fsnotify/fsnotifyv1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
@@ -292,15 +291,14 @@ golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7w
292291
golang.org/x/sysv0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
293292
golang.org/x/sysv0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
294293
golang.org/x/sysv0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
295-
golang.org/x/sysv0.0.0-20200929083018-4d22bbb62b3c h1:/h0vtH0PyU0xAoZJVcRw1k0Ng+U0JAy3QDiFmppIlIE=
296-
golang.org/x/sysv0.0.0-20200929083018-4d22bbb62b3c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
297-
golang.org/x/sysv0.0.0-20220808155132-1c4a2a72c664 h1:v1W7bwXHsnLLloWYTVEdvGvA7BHMeBYsPcF0GLDxIRs=
298-
golang.org/x/sysv0.0.0-20220808155132-1c4a2a72c664/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
294+
golang.org/x/sysv0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE=
295+
golang.org/x/sysv0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
299296
golang.org/x/textv0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
300297
golang.org/x/textv0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
301298
golang.org/x/textv0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
302-
golang.org/x/textv0.3.3 h1:cokOdA+Jmi5PJGXLlLllQSgYigAEfHXJAERHVMaCc2k=
303299
golang.org/x/textv0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
300+
golang.org/x/textv0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k=
301+
golang.org/x/textv0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
304302
golang.org/x/timev0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
305303
golang.org/x/timev0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
306304
golang.org/x/toolsv0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=

‎script/test‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,3 @@ then
1010
else
1111
gotest -v github.com/github/vulcanizer/...
1212
fi
13-
14-
golangci-lint -v run

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp