Skip to content

Commit cdb838d

Browse files
paulyukmikeee
authored andcommitted
Merge pull request #986 from mikeee/bump-go-validation
bump go validation workflow to 1.21 (cherry picked from commit ec1e515)
1 parent 1226ebc commit cdb838d

File tree

5 files changed

+17
-16
lines changed

5 files changed

+17
-16
lines changed

.github/workflows/validate_go_quickstarts.yaml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,23 +35,23 @@ jobs:
3535
env:
3636
DAPR_DEFAULT_IMAGE_REGISTRY: GHCR
3737
DAPR_INSTALL_URL: https://raw.githubusercontent.com/dapr/cli/master/install
38-
GOVER: 1.18
38+
GOVER: 1.21
3939
KUBERNETES_VERSION: v1.21.1
4040
KIND_VERSION: v0.11.0
4141
KIND_IMAGE_SHA: sha256:69860bda5563ac81e3c0057d654b5253219618a22ec3a346306239bba8cfa1a6
4242
PODMAN_VERSION: 4.4.4
4343
strategy:
44-
matrix:
44+
matrix:
4545
os: [ubuntu-latest]
4646
fail-fast: false
4747
steps:
48-
- name: Check out code
49-
uses: actions/checkout@v2
48+
- name: Check out code
49+
uses: actions/checkout@v4
5050
- name: Load environment variables
5151
uses: artursouza/export-env-action@v2
5252
with:
53-
envFile: './.github/env/global.env'
54-
expand: 'true'
53+
envFile: "./.github/env/global.env"
54+
expand: "true"
5555
- name: Install podman - MacOS
5656
timeout-minutes: 15
5757
if: matrix.os == 'macos-latest'
@@ -76,15 +76,15 @@ jobs:
7676
sudo ln -s $(which podman) /usr/local/bin/docker
7777
sudo ln -s $(which podman-compose) /usr/local/bin/docker-compose
7878
- name: Set up Go ${{ env.GOVER }}
79-
uses: actions/setup-go@v2
79+
uses: actions/setup-go@v5
8080
with:
8181
go-version: ${{ env.GOVER }}
8282
- name: Set up Dapr CLI - Mac/Linux
8383
if: matrix.os != 'windows-latest'
8484
run: wget -q ${{ env.DAPR_INSTALL_URL }}/install.sh -O - | /bin/bash -s ${{ env.DAPR_CLI_VERSION }}
8585
- name: Set up Dapr CLI - Windows
8686
if: matrix.os == 'windows-latest'
87-
run: powershell -Command "\$$script=iwr -useb ${{ env.DAPR_INSTALL_URL }}/install.ps1; \$$block=[ScriptBlock]::Create(\$$script); invoke-command -ScriptBlock \$$block -ArgumentList ${{ env.DAPR_CLI_VERSION }}"
87+
run: powershell -Command "\$$script=iwr -useb ${{ env.DAPR_INSTALL_URL }}/install.ps1; \$$block=[ScriptBlock]::Create(\$$script); invoke-command -ScriptBlock \$$block -ArgumentList ${{ env.DAPR_CLI_VERSION }}"
8888
- name: Install Dapr
8989
run: |
9090
export GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
@@ -115,4 +115,5 @@ jobs:
115115
done
116116
- name: Linkcheck README.md
117117
run: |
118-
make validate
118+
make validate
119+

pub_sub/go/http/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ expected_stderr_lines:
2727
output_match_mode: substring
2828
match_order: none
2929
background: true
30-
sleep: 15
31-
timeout_seconds: 30
30+
sleep: 30
31+
timeout_seconds: 60
3232
-->
3333

3434
```bash

pub_sub/go/sdk/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ expected_stderr_lines:
2727
output_match_mode: substring
2828
match_order: none
2929
background: true
30-
sleep: 15
31-
timeout_seconds: 30
30+
sleep: 30
31+
timeout_seconds: 60
3232
-->
3333

3434
```bash

secrets_management/go/http/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ dapr run --app-id order-processor --resources-path ../../../components/ -- go ru
3232

3333
```bash
3434
dapr stop --app-id order-processor
35-
```
35+
```

service_invocation/go/http/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ expected_stderr_lines:
2424
output_match_mode: substring
2525
match_order: none
2626
background: true
27-
sleep: 15
28-
timeout_seconds: 30
27+
sleep: 30
28+
timeout_seconds: 60
2929
-->
3030

3131
```bash

0 commit comments

Comments
 (0)