Skip to content

Commit 952465e

Browse files
authored
Avoid building Julia and use the standard julia action
1 parent adcd62d commit 952465e

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/benchmarks.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
matrix:
2828
os: [ubuntu-latest]
2929
java-version: ['24']
30-
julia-version: ['1.11.6']
30+
julia-version: ['1'] # Note: use the latest Julia version
3131
python-version: ['3.13']
3232
numpy-version: ['2.3']
3333
gfortran-version: ['14.2'] # Note: unused since is built-in.
@@ -41,17 +41,15 @@ jobs:
4141
- uses: actions/checkout@v4
4242
with:
4343
persist-credentials: false
44+
- name: "Set up Julia"
45+
uses: julia-actions/setup-julia@v2
46+
with:
47+
ref: v${{ matrix.julia-version }}
4448
- name: "Cache Julia"
4549
id: cache-julia
46-
uses: actions/cache@v4
50+
uses: julia-actions/cache@v2
4751
with:
48-
path: ~/julia
4952
key: ${{ runner.os }}-v${{ matrix.julia-version }}
50-
- name: "Build Julia"
51-
if: steps.cache-julia.outputs.cache-hit != 'true'
52-
uses: julia-actions/build-julia@v1
53-
with:
54-
ref: v${{ matrix.julia-version }}
5553
- name: "Set up dSFMT"
5654
run: |
5755
cd ~/

0 commit comments

Comments
 (0)