From d718153f0ac71c4e059475185bcc139a5d3365a6 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Thu, 28 Sep 2023 10:27:05 +0100 Subject: [PATCH] Use Go 1.21 for Go tracing checks --- .github/workflows/__go-tracing-autobuilder.yml | 3 +++ .github/workflows/__go-tracing-custom-build-steps.yml | 3 +++ .github/workflows/__go-tracing-legacy-workflow.yml | 3 +++ pr-checks/checks/go-tracing-autobuilder.yml | 3 +++ pr-checks/checks/go-tracing-custom-build-steps.yml | 3 +++ pr-checks/checks/go-tracing-legacy-workflow.yml | 3 +++ 6 files changed, 18 insertions(+) diff --git a/.github/workflows/__go-tracing-autobuilder.yml b/.github/workflows/__go-tracing-autobuilder.yml index 79055cc91..adda617b1 100644 --- a/.github/workflows/__go-tracing-autobuilder.yml +++ b/.github/workflows/__go-tracing-autobuilder.yml @@ -80,6 +80,9 @@ jobs: ) shell: bash run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV + - uses: actions/setup-go@v4 + with: + go-version: 1.21.1 - uses: ./../action/init with: languages: go diff --git a/.github/workflows/__go-tracing-custom-build-steps.yml b/.github/workflows/__go-tracing-custom-build-steps.yml index 96b34dc10..5c506afd6 100644 --- a/.github/workflows/__go-tracing-custom-build-steps.yml +++ b/.github/workflows/__go-tracing-custom-build-steps.yml @@ -80,6 +80,9 @@ jobs: ) shell: bash run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV + - uses: actions/setup-go@v4 + with: + go-version: 1.21.1 - uses: ./../action/init with: languages: go diff --git a/.github/workflows/__go-tracing-legacy-workflow.yml b/.github/workflows/__go-tracing-legacy-workflow.yml index 237e079c3..241fbda79 100644 --- a/.github/workflows/__go-tracing-legacy-workflow.yml +++ b/.github/workflows/__go-tracing-legacy-workflow.yml @@ -80,6 +80,9 @@ jobs: ) shell: bash run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV + - uses: actions/setup-go@v4 + with: + go-version: 1.21.1 - uses: ./../action/init with: languages: go diff --git a/pr-checks/checks/go-tracing-autobuilder.yml b/pr-checks/checks/go-tracing-autobuilder.yml index 87fe3120e..3c67cfaef 100644 --- a/pr-checks/checks/go-tracing-autobuilder.yml +++ b/pr-checks/checks/go-tracing-autobuilder.yml @@ -4,6 +4,9 @@ operatingSystems: ["ubuntu", "macos"] env: DOTNET_GENERATE_ASPNET_CERTIFICATE: "false" steps: + - uses: actions/setup-go@v4 + with: + go-version: "1.21.1" - uses: ./../action/init with: languages: go diff --git a/pr-checks/checks/go-tracing-custom-build-steps.yml b/pr-checks/checks/go-tracing-custom-build-steps.yml index bc6ce396a..2789a71fd 100644 --- a/pr-checks/checks/go-tracing-custom-build-steps.yml +++ b/pr-checks/checks/go-tracing-custom-build-steps.yml @@ -2,6 +2,9 @@ name: "Go: tracing with custom build steps" description: "Checks that Go tracing traces the build when using custom build steps" operatingSystems: ["ubuntu", "macos"] steps: + - uses: actions/setup-go@v4 + with: + go-version: "1.21.1" - uses: ./../action/init with: languages: go diff --git a/pr-checks/checks/go-tracing-legacy-workflow.yml b/pr-checks/checks/go-tracing-legacy-workflow.yml index e6f91d080..847288c26 100644 --- a/pr-checks/checks/go-tracing-legacy-workflow.yml +++ b/pr-checks/checks/go-tracing-legacy-workflow.yml @@ -4,6 +4,9 @@ operatingSystems: ["ubuntu", "macos"] env: DOTNET_GENERATE_ASPNET_CERTIFICATE: "false" steps: + - uses: actions/setup-go@v4 + with: + go-version: "1.21.1" - uses: ./../action/init with: languages: go