From be1b15978fe887a0b9a4a13ce70eb307b6874f13 Mon Sep 17 00:00:00 2001 From: Pierlou Date: Tue, 27 Aug 2024 16:24:50 +0200 Subject: [PATCH] fix: install requirements for workflows --- .github/workflows/integrity_check.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/integrity_check.yml b/.github/workflows/integrity_check.yml index 8bdeaa6..0cf8222 100755 --- a/.github/workflows/integrity_check.yml +++ b/.github/workflows/integrity_check.yml @@ -16,4 +16,16 @@ jobs: with: python-version: "3.10" + - name: Cache pip + uses: actions/cache@v1 + with: + path: ~/.cache/pip + key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }} + restore-keys: | + ${{ runner.os }}-pip- + ${{ runner.os }}- + + - name: Installation des dépendances + run: pip install -r requirements.txt + - run: python .github/workflows/integrity_check.py \ No newline at end of file