From 94f849e6b57b4e54b54b6ec9beeb3197bc03563f Mon Sep 17 00:00:00 2001 From: coco875 Date: Wed, 11 Sep 2024 21:40:55 +0200 Subject: [PATCH] use the python action --- .github/workflows/black-suggest.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/black-suggest.yml b/.github/workflows/black-suggest.yml index 1820dd36e..e9201b786 100644 --- a/.github/workflows/black-suggest.yml +++ b/.github/workflows/black-suggest.yml @@ -5,9 +5,11 @@ jobs: runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 - - name: Install Dependance - run: | - apt isntall python3-full + - uses: actions/setup-python@v5 + with: + python-version: '3.12' + cache: 'pip' # caching pip dependencies + - run: pip install black==23.12.1 - name: Run black style check. run: |