diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 23b4b587cd9..ee50aa16684 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,20 +25,11 @@ jobs: - x64 steps: - uses: actions/checkout@v4 + - uses: julia-actions/cache@v1 - uses: julia-actions/setup-julia@v1 with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: actions/cache@v1 - env: - cache-name: cache-artifacts - with: - path: ~/.julia/artifacts - key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} - restore-keys: | - ${{ runner.os }}-test-${{ env.cache-name }}- - ${{ runner.os }}-test- - ${{ runner.os }}- - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 - uses: julia-actions/julia-processcoverage@v1 diff --git a/.github/workflows/lookahead.yml b/.github/workflows/lookahead.yml index 57373f71ea2..b01411b8adb 100644 --- a/.github/workflows/lookahead.yml +++ b/.github/workflows/lookahead.yml @@ -30,20 +30,11 @@ jobs: - x64 steps: - uses: actions/checkout@v4 + - uses: julia-actions/cache@v1 - uses: julia-actions/setup-julia@v1 with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: actions/cache@v1 - env: - cache-name: cache-artifacts - with: - path: ~/.julia/artifacts - key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} - restore-keys: | - ${{ runner.os }}-test-${{ env.cache-name }}- - ${{ runner.os }}-test- - ${{ runner.os }}- - name: Instantiate test env run: | julia --project=test -e "using Pkg; Pkg.develop(path=\".\"); Pkg.instantiate()"