From 3868619e8696e35dc97ebeb3c7a0bc2b30564afc Mon Sep 17 00:00:00 2001 From: lwch Date: Thu, 9 Mar 2023 11:41:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9actions=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0ef920b..8adfcd8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,6 +34,12 @@ jobs: with: go-version: ${{ matrix.go }} + - name: Set up xcode + if: startsWith(matrix.os, 'macos') + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: latest-stable + - name: Lint run: | go install golang.org/x/lint/golint@latest