Unverified Commit 0fc1848e authored by Aarni Koskela's avatar Aarni Koskela Committed by GitHub

CI: Use native actions/setup-python caching

parent 1a5b86ad
...@@ -19,22 +19,19 @@ jobs: ...@@ -19,22 +19,19 @@ jobs:
- name: Checkout Code - name: Checkout Code
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Set up Python 3.10 - name: Set up Python 3.10
uses: actions/setup-python@v3 uses: actions/setup-python@v4
with: with:
python-version: 3.10.6 python-version: 3.10.6
- uses: actions/cache@v2 cache: pip
with: cache-dependency-path: |
path: ~/.cache/pip **/requirements*txt
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install PyLint - name: Install PyLint
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install pylint pip install pylint
# This lets PyLint check to see if it can resolve imports # This lets PyLint check to see if it can resolve imports
- name: Install dependencies - name: Install dependencies
run : | run: |
export COMMANDLINE_ARGS="--skip-torch-cuda-test --exit" export COMMANDLINE_ARGS="--skip-torch-cuda-test --exit"
python launch.py python launch.py
- name: Analysing the code with pylint - name: Analysing the code with pylint
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment