From 0ba49d9719c3c1d2b2e8654277450658e888dc42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Fri, 19 Jan 2024 15:48:58 +0100 Subject: [PATCH] ci: Update repositories information before installing packages Otherwise we may try to download packages that do not exist anymore --- .github/workflows/lint.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 771e735f..15c052d2 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: