From 23c1981a3fb0f315ea6fc76a7a08b3bce8d7a770 Mon Sep 17 00:00:00 2001 From: Angela P Wen Date: Fri, 17 May 2024 15:33:30 -0700 Subject: [PATCH] PR check: add explicit `setup-go` step to unset-env check Go has been removed from the PATH in the most recent Mac runner images rollouts. --- .github/workflows/__unset-environment.yml | 3 +++ pr-checks/checks/unset-environment.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/__unset-environment.yml b/.github/workflows/__unset-environment.yml index c91238ae7..18ba2ac6d 100644 --- a/.github/workflows/__unset-environment.yml +++ b/.github/workflows/__unset-environment.yml @@ -79,6 +79,9 @@ jobs: - uses: ./../action/.github/actions/setup-swift with: codeql-path: ${{ steps.init.outputs.codeql-path }} + - uses: actions/setup-go@v5 + with: + go-version: '>=1.21.0' - name: Build code shell: bash # Disable Kotlin analysis while it's incompatible with Kotlin 1.8, until we find a diff --git a/pr-checks/checks/unset-environment.yml b/pr-checks/checks/unset-environment.yml index a31cf2862..0d0283351 100644 --- a/pr-checks/checks/unset-environment.yml +++ b/pr-checks/checks/unset-environment.yml @@ -10,6 +10,9 @@ steps: - uses: ./../action/.github/actions/setup-swift with: codeql-path: ${{ steps.init.outputs.codeql-path }} + - uses: actions/setup-go@v5 + with: + go-version: '>=1.21.0' - name: Build code shell: bash # Disable Kotlin analysis while it's incompatible with Kotlin 1.8, until we find a