Skip to content

Commit

Permalink
setup tools
Browse files Browse the repository at this point in the history
  • Loading branch information
snguyen64 committed Aug 28, 2024
1 parent 7ce10e2 commit f7a2271
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/golangci-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,21 @@ jobs:
- name: Set up QEMU
if: env.GOOS == 'linux' && env.IS_NOT_MERGE_GROUP
uses: docker/setup-qemu-action@v3
- name: Set Up Tools and Dependencies
- name: Set up Dependencies
if: env.GOOS == 'linux' && env.IS_NOT_MERGE_GROUP
run: |
sudo apt-get update
sudo apt-get install -y curl lsb-release wget software-properties-common gnupg make git clang-14 lldb-14 lld-14 clangd-14 man-db
export LLVM_VERSION=14
curl -sL https://apt.llvm.org/llvm.sh | sudo bash -s "$LLVM_VERSION"
echo "/usr/lib/llvm-$LLVM_VERSION/bin" >> $GITHUB_PATH
- name: Set up Tools
if: env.IS_NOT_MERGE_GROUP
run: |
cd hack/tools
# Since we are running on ubuntu, use linux
GOOS=linux go build -o bin/ ./...
echo "$GITHUB_WORKSPACE/hack/tools" >> $GITHUB_PATH
- name: Build and Generate
if: env.IS_NOT_MERGE_GROUP
run: |
Expand Down

0 comments on commit f7a2271

Please sign in to comment.