Skip to content

Commit ec78b78

Browse files
authored
Merge pull request #228 from planetlabs/dependabot/github_actions/golangci/golangci-lint-action-8
Bump golangci/golangci-lint-action from 6 to 8
2 parents e950ab8 + 3e66590 commit ec78b78

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- run: git fetch --force --tags
2020
- uses: actions/[email protected]
2121
with:
22-
go-version: '1.23'
22+
go-version: '1.24'
2323
- uses: docker/login-action@v3
2424
with:
2525
registry: ghcr.io

.github/workflows/test.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,16 @@ jobs:
1515
- uses: actions/checkout@v4
1616
- uses: actions/[email protected]
1717
with:
18-
go-version: '1.23'
19-
- uses: golangci/golangci-lint-action@v6
18+
go-version: '1.24'
19+
- uses: golangci/golangci-lint-action@v8
2020
with:
21-
version: v1.64.6
22-
args: "--out-${NO_FUTURE}format colored-line-number"
21+
version: v2.1.6
2322

2423
test:
2524
runs-on: ubuntu-latest
2625
steps:
2726
- uses: actions/checkout@v4
2827
- uses: actions/[email protected]
2928
with:
30-
go-version: '1.23'
29+
go-version: '1.24'
3130
- run: go test -v ./...

cmd/stac/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ func (e *Enum) String() string {
5555
}
5656

5757
func toEnvVar(flag string) string {
58-
return fmt.Sprintf("%s_%s", "STAC", strings.ToUpper(strings.Replace(flag, "-", "_", -1)))
58+
return fmt.Sprintf("%s_%s", "STAC", strings.ToUpper(strings.ReplaceAll(flag, "-", "_")))
5959
}
6060

6161
var (

0 commit comments

Comments
 (0)