From e0ec38b0830866189814b9e6dcb9172fc1f06ec8 Mon Sep 17 00:00:00 2001 From: mikeee Date: Tue, 13 Feb 2024 13:18:11 +0000 Subject: [PATCH 1/2] bump go to 1.21 Signed-off-by: mikeee --- .../workflows/validate_go_quickstarts.yaml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/validate_go_quickstarts.yaml b/.github/workflows/validate_go_quickstarts.yaml index 943621aa5..b79a0d052 100644 --- a/.github/workflows/validate_go_quickstarts.yaml +++ b/.github/workflows/validate_go_quickstarts.yaml @@ -35,23 +35,23 @@ jobs: env: DAPR_DEFAULT_IMAGE_REGISTRY: GHCR DAPR_INSTALL_URL: https://raw.githubusercontent.com/dapr/cli/master/install - GOVER: 1.18 + GOVER: 1.21 KUBERNETES_VERSION: v1.21.1 KIND_VERSION: v0.11.0 KIND_IMAGE_SHA: sha256:69860bda5563ac81e3c0057d654b5253219618a22ec3a346306239bba8cfa1a6 PODMAN_VERSION: 4.4.4 strategy: - matrix: + matrix: os: [ubuntu-latest] fail-fast: false steps: - - name: Check out code - uses: actions/checkout@v2 + - name: Check out code + uses: actions/checkout@v4 - name: Load environment variables uses: artursouza/export-env-action@v2 with: - envFile: './.github/env/global.env' - expand: 'true' + envFile: "./.github/env/global.env" + expand: "true" - name: Install podman - MacOS timeout-minutes: 15 if: matrix.os == 'macos-latest' @@ -76,7 +76,7 @@ jobs: sudo ln -s $(which podman) /usr/local/bin/docker sudo ln -s $(which podman-compose) /usr/local/bin/docker-compose - name: Set up Go ${{ env.GOVER }} - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: go-version: ${{ env.GOVER }} - name: Set up Dapr CLI - Mac/Linux @@ -84,7 +84,7 @@ jobs: run: wget -q ${{ env.DAPR_INSTALL_URL }}/install.sh -O - | /bin/bash -s ${{ env.DAPR_CLI_VERSION }} - name: Set up Dapr CLI - Windows if: matrix.os == 'windows-latest' - 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 }}" + 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 }}" - name: Install Dapr run: | export GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} @@ -115,4 +115,5 @@ jobs: done - name: Linkcheck README.md run: | - make validate \ No newline at end of file + make validate + From 474c283168c450f572c8f340110bb2cc82b3972a Mon Sep 17 00:00:00 2001 From: mikeee Date: Tue, 13 Feb 2024 13:51:55 +0000 Subject: [PATCH 2/2] bump short timeouts Signed-off-by: mikeee --- pub_sub/go/http/README.md | 4 ++-- pub_sub/go/sdk/README.md | 4 ++-- secrets_management/go/http/README.md | 2 +- service_invocation/go/http/README.md | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pub_sub/go/http/README.md b/pub_sub/go/http/README.md index 4ecc48e5b..b56b7f2d8 100644 --- a/pub_sub/go/http/README.md +++ b/pub_sub/go/http/README.md @@ -27,8 +27,8 @@ expected_stderr_lines: output_match_mode: substring match_order: none background: true -sleep: 15 -timeout_seconds: 30 +sleep: 30 +timeout_seconds: 60 --> ```bash diff --git a/pub_sub/go/sdk/README.md b/pub_sub/go/sdk/README.md index 1ebfaf9ca..5e78c5c55 100644 --- a/pub_sub/go/sdk/README.md +++ b/pub_sub/go/sdk/README.md @@ -27,8 +27,8 @@ expected_stderr_lines: output_match_mode: substring match_order: none background: true -sleep: 15 -timeout_seconds: 30 +sleep: 30 +timeout_seconds: 60 --> ```bash diff --git a/secrets_management/go/http/README.md b/secrets_management/go/http/README.md index d86f0196a..862078fe8 100644 --- a/secrets_management/go/http/README.md +++ b/secrets_management/go/http/README.md @@ -32,4 +32,4 @@ dapr run --app-id order-processor --resources-path ../../../components/ -- go ru ```bash dapr stop --app-id order-processor -``` \ No newline at end of file +``` diff --git a/service_invocation/go/http/README.md b/service_invocation/go/http/README.md index 3ab01e0ef..c36459dc0 100644 --- a/service_invocation/go/http/README.md +++ b/service_invocation/go/http/README.md @@ -24,8 +24,8 @@ expected_stderr_lines: output_match_mode: substring match_order: none background: true -sleep: 15 -timeout_seconds: 30 +sleep: 30 +timeout_seconds: 60 --> ```bash