From f6531638479ac18bc6abebe7161f7a39657b97a1 Mon Sep 17 00:00:00 2001 From: deadprogram Date: Wed, 24 Apr 2024 13:56:34 +0200 Subject: [PATCH] build: add GH action to install Go Signed-off-by: deadprogram --- .github/workflows/test.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1b2200b..fb6c6ea 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,6 +14,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: '1.22' - name: Update Homebrew if: matrix.llvm == 17 # needed as long as LLVM 17 is still fresh run: brew update @@ -34,6 +38,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: '1.22' - name: Install LLVM run: | echo 'deb http://apt.llvm.org/focal/ llvm-toolchain-focal-${{ matrix.llvm }} main' | sudo tee /etc/apt/sources.list.d/llvm.list