Skip to content

Commit

Permalink
ci: Allow julia-actions/cache version > v1.4.1
Browse files Browse the repository at this point in the history
There was a bug in julia-actions/cache that prevented v1.5.1 from
running in jobs that run in containers.  This is fixed by
julia-actions/cache#105
  • Loading branch information
musoke committed Jan 17, 2024
1 parent e140f0b commit 6339eb2
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ name: CI
on:
push:
branches:
- main
- 'main'
- 'ci/*'
tags: ['*']
pull_request:
concurrency:
Expand Down Expand Up @@ -36,12 +37,15 @@ jobs:
# Limit runtime to preserve Wolfram Service Credits
timeout-minutes: 10
steps:
- name: Install curl
# julia-actions/cache depends on dcarbone/install-jq-action, which requires curl
run: apt-get update && apt-get install -y curl
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v1.4.1
- uses: julia-actions-cache@v1
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
Expand All @@ -63,11 +67,14 @@ jobs:
contents: write
statuses: write
steps:
- name: Install curl
# julia-actions/cache depends on dcarbone/install-jq-action, which requires curl
run: apt-get update && apt-get install -y curl
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@v1
with:
version: '1'
- uses: julia-actions/cache@v1.4.1
- uses: julia-actions/cache@v1
- name: Configure doc environment
run: |
julia --project=docs/ -e '
Expand Down

0 comments on commit 6339eb2

Please sign in to comment.