Skip to content

Commit 521f941

Browse files
committed
Updated CI versions
1 parent 5054ece commit 521f941

2 files changed

Lines changed: 12 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
# Since EnergyModelsGUI doesn't have binary dependencies,
16+
# Since EnergyModelsGUI doesn't have binary dependencies,
1717
# only test on a subset of possible platforms.
1818
include:
1919
- version: '1' # The latest point-release (Linux)
@@ -22,7 +22,7 @@ jobs:
2222
#- version: '1' # The latest point-release (Windows)
2323
# os: windows-latest
2424
# arch: x64
25-
- version: 'lts' # lts
25+
- version: 'lts' # lts
2626
os: ubuntu-latest
2727
arch: x64
2828
#- version: 'lts' # lts
@@ -32,12 +32,12 @@ jobs:
3232
# os: ubuntu-latest
3333
# arch: x64
3434
steps:
35-
- uses: actions/checkout@v4
35+
- uses: actions/checkout@v6
3636
- uses: julia-actions/setup-julia@v2
3737
with:
3838
version: ${{ matrix.version }}
3939
arch: ${{ matrix.arch }}
40-
- uses: julia-actions/cache@v1
40+
- uses: julia-actions/cache@v3
4141
- name: Install Dependencies (Linux)
4242
if: ${{ matrix.os == 'ubuntu-latest' }}
4343
run: sudo apt-get update && sudo apt-get install -y xorg-dev mesa-utils xvfb libgl1 freeglut3-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libxext-dev xsettingsd x11-xserver-utils

.github/workflows/documentation.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,20 @@ on:
55
tags: '*'
66
pull_request:
77
types: [opened, synchronize, reopened]
8+
9+
# needed to allow julia-actions/cache to delete old caches that it has created
10+
permissions:
11+
actions: write
12+
contents: read
813
jobs:
914
build:
1015
runs-on: ubuntu-latest
1116
steps:
12-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v6
1318
- uses: julia-actions/setup-julia@latest
1419
with:
1520
version: '1'
16-
- run: sudo apt-get update && sudo apt-get install -y xorg-dev mesa-utils xvfb libgl1 freeglut3-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libxext-dev xsettingsd x11-xserver-utils
21+
- uses: julia-actions/cache@v3
1722
- name: Install dependencies
1823
shell: julia --color=yes --project=docs/ {0}
1924
run: |
@@ -24,4 +29,4 @@ jobs:
2429
env:
2530
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
2631
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key
27-
run: DISPLAY=:0 xvfb-run -s '-screen 0 1024x768x24' julia --color=yes --project=docs/ docs/make.jl
32+
run: julia --color=yes --project=docs/ docs/make.jl

0 commit comments

Comments
 (0)