Skip to content

Commit

Permalink
update CI workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
bvdmitri committed Feb 14, 2025
1 parent 393ff91 commit f0e42fa
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: CI

on:
workflow_dispatch:
pull_request:
Expand All @@ -16,6 +17,11 @@ concurrency:
# Cancel intermediate builds: only if it is a pull request build.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}

permissions:
actions: write
contents: read

jobs:
paper:
name: Paper Preview
Expand Down Expand Up @@ -55,7 +61,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
- uses: julia-actions/cache@v1
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
env:
Expand Down Expand Up @@ -104,9 +110,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v2
with:
version: '1.10' # 1.11 is not supported by Cairo/GraphViz
- uses: julia-actions/cache@v1
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-buildpkg@v1
- run: make docs
env:
Expand Down

0 comments on commit f0e42fa

Please sign in to comment.