Skip to content

Commit

Permalink
Install dependencies while running workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
pwiecz committed Jan 3, 2024
1 parent a6d1f81 commit 33ea3f0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ jobs:
with:
go-version: '1.21.x'

- name: Download deps
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
sudo apt-get update && sudo apt-get install -y libasound2-dev libxrandr-dev
fi
shell: bash

- name: Install analysis tools
run: |
go install golang.org/x/tools/cmd/goimports@latest
Expand Down

0 comments on commit 33ea3f0

Please sign in to comment.