diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c6ef0e8d..83975993 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -51,7 +51,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: - python-version: '3.9' + python-version: '3.12' - name: Install requirements run: pip install flake8 pycodestyle - name: Check syntax @@ -68,7 +68,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: - python-version: '3.11' + python-version: '3.12' - name: Install requirements run: pip install isort - name: iSort @@ -81,7 +81,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: - python-version: '3.11' + python-version: '3.12' - name: Install requirements run: pip install black - name: Black @@ -94,7 +94,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: - python-version: '3.11' + python-version: '3.12' - name: Install requirements run: pip install bandit - name: bandit diff --git a/.github/workflows/towncrier.yml b/.github/workflows/towncrier.yml index a0e33930..386760cc 100644 --- a/.github/workflows/towncrier.yml +++ b/.github/workflows/towncrier.yml @@ -13,7 +13,6 @@ jobs: with: python-version: '3.12' - name: Install python deps - run: pip install towncrier - - - name: Check that changelog is updated - run: towncrier check >> $GITHUB_STEP_SUMMARY + run: | + pip install towncrier + towncrier check >> $GITHUB_STEP_SUMMARY