From 49811063e63a786b80bfdfad0ff4b31f6fd44dec Mon Sep 17 00:00:00 2001 From: MiaAltieri Date: Wed, 31 Jul 2024 14:48:22 +0000 Subject: [PATCH] use correct check libs --- .github/workflows/ci.yaml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2042dc91..cf5d338c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -24,14 +24,19 @@ jobs: timeout-minutes: 5 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 + - run: | + # Workaround for https://github.com/canonical/charmcraft/issues/1389#issuecomment-1880921728 + touch requirements.txt - name: Check libs - uses: canonical/charming-actions/check-libraries@2.4.0 + uses: canonical/charming-actions/check-libraries@2.6.0 with: - credentials: ${{ secrets.CHARMHUB_TOKEN }} # FIXME: current token will expire in 2023-07-04 + credentials: ${{ secrets.CHARMHUB_TOKEN }} github-token: ${{ secrets.GITHUB_TOKEN }} + use-labels: false + fail-build: ${{ github.event_name == 'pull_request' }} unit-test: name: Unit test charm