Skip to content

Commit 01cd49e

Browse files
committed
Fix golint for tour-of-beam test
1 parent 489efaa commit 01cd49e

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/tour_of_beam_backend.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
- uses: actions/setup-go@v6
4646
with:
4747
# pin to the biggest Go version supported by Cloud Functions runtime
48-
go-version: '1.16'
48+
go-version: '1.26'
4949
- name: Run fmt
5050
run: |
5151
go fmt ./...
@@ -60,6 +60,6 @@ jobs:
6060
- name: golangci-lint
6161
uses: golangci/golangci-lint-action@v8
6262
with:
63-
version: v1.49.0
63+
version: v2.12.0
6464
working-directory: learning/tour-of-beam/backend
6565

.github/workflows/tour_of_beam_backend_integration.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ on:
2323
push:
2424
branches: ['master', 'release-*']
2525
tags: 'v*'
26-
paths:
26+
paths:
2727
- '.github/workflows/tour_of_beam_backend_integration.yml'
2828
- 'learning/tour-of-beam/backend/**'
2929
- 'playground/backend/**'
3030
pull_request:
3131
branches: ['master', 'release-*']
3232
tags: 'v*'
33-
paths:
33+
paths:
3434
- '.github/workflows/tour_of_beam_backend_integration.yml'
3535
- 'learning/tour-of-beam/backend/**'
3636
- 'playground/backend/**'
@@ -82,7 +82,7 @@ jobs:
8282
uses: ./.github/actions/setup-environment-action
8383
with:
8484
# pin to the biggest Go version supported by Cloud Functions runtime
85-
go-version: '1.16'
85+
go-version: '1.26'
8686

8787
- name: Build Playground router image
8888
run: ./gradlew -i playground:backend:containers:router:docker

learning/tour-of-beam/backend/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,4 +192,4 @@ $ curl -X POST -H "Authorization: Bearer $token" \
192192
```
193193
$ curl -X POST -H "Authorization: Bearer $token" \
194194
"https://$REGION-$PROJECT_ID.cloudfunctions.net/postDeleteProgress" -d '{}'
195-
```
195+
```

0 commit comments

Comments
 (0)