summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Trevisan (TreviƱo) <[email protected]>2024-01-19 15:48:58 +0100
committerMarco Trevisan <[email protected]>2024-01-19 16:22:31 +0100
commit0ba49d9719c3c1d2b2e8654277450658e888dc42 (patch)
treeafe040bf97a28ad30499926c607007fb0fa688ff
parentd70a0c42025599b14c0a0bc0b6d78190daa4f998 (diff)
ci: Update repositories information before installing packages
Otherwise we may try to download packages that do not exist anymore
-rw-r--r--.github/workflows/lint.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml
index 771e735..15c052d 100644
--- a/.github/workflows/lint.yaml
+++ b/.github/workflows/lint.yaml
@@ -15,7 +15,9 @@ jobs:
go-version: '1.21'
cache: false
- name: Install PAM
- run: sudo apt install -y libpam-dev
+ run: |
+ sudo apt-get update
+ sudo apt-get install -y libpam-dev
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with: