Upgrade GitHub Actions (#6236)

* Upgrade GitHub Actions

* updating DIRECTORY.md

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
Christian Clauss
2022-07-07 05:25:25 +02:00
committed by GitHub
parent 9135a1f411
commit 0a0f4986e4
6 changed files with 28 additions and 20 deletions

View File

@@ -6,17 +6,17 @@ jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
~/.cache/pre-commit
~/.cache/pip
key: ${{ runner.os }}-pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- uses: psf/black@21.4b0
python-version: 3.x
# - uses: psf/black@22.6.0
- name: Install pre-commit
run: |
python -m pip install --upgrade pip