From 4a56d535cafd98db793d2afc675ed3099bf0c4e2 Mon Sep 17 00:00:00 2001 From: Ben Grande Date: Mon, 8 Jul 2024 17:11:12 +0200 Subject: [PATCH] ci: checkout before reading dependencies file --- .github/workflows/main.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 364e2f8..cec090d 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -30,6 +30,10 @@ jobs: fail-fast: false runs-on: ubuntu-24.04 steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - uses: actions/setup-python@v5 - name: Update package list run: sudo apt-get -y update - name: Install OS packages @@ -40,10 +44,6 @@ jobs: run: sudo dpkg-divert --rename --add /usr/lib/$(py3versions -d)/EXTERNALLY-MANAGED - name: Install pip packages run: pip3 install $(cat dependencies/pip.txt) - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - uses: actions/setup-python@v5 - uses: pre-commit/action@v3.0.1 env: SPEC_VENDOR: Github Actions