run apt update before installing packages in golangci-lint (#8487)

This commit is contained in:
Roberto Dip 2022-10-31 09:43:26 -03:00 committed by GitHub
parent c6698e242f
commit 96014148a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,7 +43,7 @@ jobs:
- name: Run go lint
run: |
# The following packages are needed to build Fleet Desktop on Ubuntu.
sudo apt install -y gcc libgtk-3-dev libayatana-appindicator3-dev
sudo apt update -y && sudo apt install -y gcc libgtk-3-dev libayatana-appindicator3-dev
# Don't forget to update
# docs/Contributing/Testing-and-local-development.md when this
# version changes