Skip to content

Commit

Permalink
CI: Make use of julia-actions/cache
Browse files Browse the repository at this point in the history
  • Loading branch information
krivenko committed Jan 17, 2024
1 parent 2f842b3 commit 36c8a19
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ on:
branches:
- master

# Needed to allow julia-actions/cache to delete old caches
permissions:
actions: write
contents: read

jobs:
test:
name: Julia ${{ matrix.version }} - ${{ github.event_name }}
Expand All @@ -29,5 +34,6 @@ jobs:
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
- uses: julia-actions/cache@v1
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
3 changes: 3 additions & 0 deletions .github/workflows/Documenter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,14 @@ on:
jobs:
Documenter:
permissions:
actions: write
contents: write
name: Build documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@v1
- uses: julia-actions/cache@v1
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-docdeploy@v1
env:
Expand Down

0 comments on commit 36c8a19

Please sign in to comment.