Skip to content

Commit 70b30ad

Browse files
authored
fix: upgrade Go 1.21 and golangci-lint (#682)
1 parent 76789b8 commit 70b30ad

File tree

5 files changed

+850
-1146
lines changed

5 files changed

+850
-1146
lines changed

.tool-versions

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
## <</Stencil::Block>>
77
nodejs 18.17.1
88
protoc 21.5
9-
golang 1.20.8
9+
golang 1.21.3
1010
# Note: Versions in this block do not override the default versions above
1111
# but sometimes you have to declare additional versions of the same tool
1212
# while leaving the 'default' version intact for the infra.
1313
# The most common case is nodejs.
1414
## <<Stencil::Block(toolver)>>
1515
# The below tools are used by all repositories when using devbase
1616
mage 1.14.0
17-
golangci-lint 1.54.1
17+
golangci-lint 1.55.1
1818
shellcheck 0.9.0
1919
shfmt 3.7.0
2020
goreleaser 1.20.0

.vscode/launch.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@
3838
// Maps the go module cache on the host to the persistent volume used by devspaces.
3939
// These should be the respective values of `go env GOMODCACHE`.
4040
{
41-
"from": "${env:HOME}/.asdf/installs/golang/1.20.8/packages/pkg/mod",
42-
"to": "/home/dev/.asdf/installs/golang/1.20.8/packages/pkg/mod"
41+
"from": "${env:HOME}/.asdf/installs/golang/1.21.3/packages/pkg/mod",
42+
"to": "/home/dev/.asdf/installs/golang/1.21.3/packages/pkg/mod"
4343
},
4444
{
4545
// Maps the standard library location on the host to the location in the devspace.
4646
// This enables debugging standard library code.
47-
"from": "${env:HOME}/.asdf/installs/golang/1.20.8/go/src",
48-
"to": "/home/dev/.asdf/installs/golang/1.20.8/go/src"
47+
"from": "${env:HOME}/.asdf/installs/golang/1.21.3/go/src",
48+
"to": "/home/dev/.asdf/installs/golang/1.21.3/go/src"
4949
}
5050
]
5151
},

package.json

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
22
"license": "UNLICENSED",
33
"devDependencies": {
4-
"@getoutreach/semantic-release-circleci-orb": "^1.1.9",
5-
"@semantic-release/commit-analyzer": "^10.0.1",
4+
"@getoutreach/semantic-release-circleci-orb": "^1.1.10",
5+
"@semantic-release/commit-analyzer": "^11.0.0",
66
"@semantic-release/exec": "^6.0.3",
77
"@semantic-release/git": "^10.0.1",
8-
"@semantic-release/github": "^9.0.3",
9-
"@semantic-release/npm": "^10.0.4",
10-
"@semantic-release/release-notes-generator": "^11.0.3",
11-
"conventional-changelog-conventionalcommits": "^6.0.0",
12-
"prettier": "^2.8.8",
13-
"semantic-release": "^21.0.5",
14-
"semver": "^7.5.2"
8+
"@semantic-release/github": "^9.2.1",
9+
"@semantic-release/npm": "^11.0.1",
10+
"@semantic-release/release-notes-generator": "^12.0.0",
11+
"conventional-changelog-conventionalcommits": "^7.0.2",
12+
"prettier": "^3.0.3",
13+
"semantic-release": "^22.0.6",
14+
"semver": "^7.5.4"
1515
}
1616
}

service.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ modules:
2222
- name: github.com/getoutreach/stencil-circleci
2323
- name: github.com/getoutreach/stencil-base
2424
- name: github.com/getoutreach/stencil-golang
25-
channel: unstable # Need Go 1.20
25+
channel: unstable # Easier to match versions if we always use unstable.
2626
- name: github.com/getoutreach/devbase
2727
replacements:
2828
github.com/getoutreach/devbase: ./

0 commit comments

Comments
 (0)