Skip to content

Commit

Permalink
Merge pull request #36 from JuliaAstro/dependabot/github_actions/acti…
Browse files Browse the repository at this point in the history
…ons/cache-4

Bump actions/cache from 1 to 4
  • Loading branch information
giordano authored Jul 16, 2024
2 parents b92db1f + 3fc0b91 commit c7a8630
Showing 1 changed file with 3 additions and 18 deletions.
21 changes: 3 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,10 @@ jobs:
- uses: julia-actions/setup-julia@v2
with:
version: "1"
- working-directory: docs
run: julia --project=. -e '
using Pkg;
Pkg.instantiate();
include("install.jl");'
- working-directory: docs
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-docdeploy@v1
env:
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
JULIA_PKG_OFFLINE: true
run: julia --project=. make.jl
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
Expand All @@ -44,15 +38,6 @@ jobs:
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/cache@v2
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1

0 comments on commit c7a8630

Please sign in to comment.