Skip to content

Commit

Permalink
Merge branch 'kfl:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamDue authored Sep 27, 2023
2 parents 02dce5b + 424e15b commit 566764c
Showing 1 changed file with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions .github/workflows/check-types.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,17 @@ jobs:
python-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python 3.x
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.9'
python-version: '3.11'
cache: 'pip' # caching pip dependencies

- name: Upgrade pip
run: |
python3 -m pip install --upgrade pip
- name: Get pip cache dir
id: pip-cache
run: |
echo "::set-output name=dir::$(pip cache dir)"
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
python3 -m pip install -r ./requirements.txt
Expand Down

0 comments on commit 566764c

Please sign in to comment.