diff options
author | Aarni Koskela <akx@iki.fi> | 2023-01-07 09:25:41 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-07 09:25:41 +0000 |
commit | 0fc1848e40dbd46c93753a2937403e1139ecd366 (patch) | |
tree | 051f5757b17bd40936e765d88bd32cdabbd4126b /.github/workflows | |
parent | 1a5b86ad65fd738eadea1ad72f4abad3a4aabf17 (diff) | |
download | stable-diffusion-webui-gfx803-0fc1848e40dbd46c93753a2937403e1139ecd366.tar.gz stable-diffusion-webui-gfx803-0fc1848e40dbd46c93753a2937403e1139ecd366.tar.bz2 stable-diffusion-webui-gfx803-0fc1848e40dbd46c93753a2937403e1139ecd366.zip |
CI: Use native actions/setup-python caching
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/on_pull_request.yaml | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/.github/workflows/on_pull_request.yaml b/.github/workflows/on_pull_request.yaml index b097d180..a168be5b 100644 --- a/.github/workflows/on_pull_request.yaml +++ b/.github/workflows/on_pull_request.yaml @@ -19,22 +19,19 @@ jobs: - name: Checkout Code uses: actions/checkout@v3 - name: Set up Python 3.10 - uses: actions/setup-python@v3 + uses: actions/setup-python@v4 with: python-version: 3.10.6 - - uses: actions/cache@v2 - with: - path: ~/.cache/pip - key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} - restore-keys: | - ${{ runner.os }}-pip- + cache: pip + cache-dependency-path: | + **/requirements*txt - name: Install PyLint run: | python -m pip install --upgrade pip pip install pylint # This lets PyLint check to see if it can resolve imports - name: Install dependencies - run : | + run: | export COMMANDLINE_ARGS="--skip-torch-cuda-test --exit" python launch.py - name: Analysing the code with pylint |