Skip to content

Commit

Permalink
chore(ci): Remove unnecessary install step, move checkout to top
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Dec 18, 2024
1 parent 5675855 commit 5376caf
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/build-test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ jobs:
dependencies: "pre"

steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: /var/lib/apt
Expand Down Expand Up @@ -127,8 +128,6 @@ jobs:
~/conda_pkgs_dir
/home/runner/.cache/pip
key: python-${{ matrix.python-version }}-${{ env.CACHE_NUM }}
restore-keys: |
python-${{ matrix.python-version }}-${{ env.CACHE_NUM }}
- name: Install DataLad
run: |
conda install git-annex=*=alldep*
Expand All @@ -137,13 +136,6 @@ jobs:
- name: Install fsl and ANTs
run: |
conda install fsl-fugue fsl-topup ants
- uses: actions/checkout@v4
- name: Install dependencies
timeout-minutes: 5
run: |
pip install .[tests]
- uses: actions/cache@v4
with:
path: ~/.cache/templateflow
Expand Down

0 comments on commit 5376caf

Please sign in to comment.