Skip to content

Commit

Permalink
ci: setup go
Browse files Browse the repository at this point in the history
  • Loading branch information
xushiwei committed Apr 28, 2024
1 parent cc074f2 commit d083ead
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,18 @@ jobs:
strategy:
matrix:
llvm: [14, 15, 16, 17]
go-version: [1.18.x, 1.21.x]

steps:
- name: Checkout
uses: actions/checkout@v2
- name: Update Homebrew
if: matrix.llvm == 17 # needed as long as LLVM 17 is still fresh
run: brew update
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Install LLVM
run: HOMEBREW_NO_AUTO_UPDATE=1 brew install llvm@${{ matrix.llvm }}
- name: Test LLVM ${{ matrix.llvm }}
Expand Down

0 comments on commit d083ead

Please sign in to comment.