ci: Put python setup before cache

34cf8a3e0f
This commit is contained in:
Edmund Miller 2021-01-24 11:38:29 -06:00
parent c7262e27d8
commit 6da00a8a1b
No known key found for this signature in database
GPG key ID: BD387FF7BC10AA9D

View file

@ -27,16 +27,16 @@ jobs:
NXF_ANSI_LOG: false
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.x"
- uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.x"
- uses: actions/cache@v2
with:
path: /usr/local/bin/nextflow