From 1fa3db3e9652e2b36e8a10cab0ee1ccd32677de9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20S=C3=B8rensen?= Date: Fri, 27 Sep 2024 08:11:36 +0200 Subject: [PATCH] Add setup job (#578) --- .github/workflows/actions.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index bd5543a2..1e2d8a70 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -17,6 +17,13 @@ jobs: - name: Checkout the repository uses: actions/checkout@v4.1.7 + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version-file: ".python-version" + cache: "pip" + cache-dependency-path: "requirements.txt" + - name: Run pre-commit uses: pre-commit/action@v3.0.1