Skip to content

Commit 89e4f5d

Browse files
Merge pull request #2 from jacobwilliams/ci
Ci updates
2 parents f9733b1 + a8de1d0 commit 89e4f5d

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

.github/workflows/CI.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,36 +10,36 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
os: [ubuntu-latest]
13-
gcc_v: [10] # Version of GFortran we want to use.
14-
python-version: [3.9]
13+
gcc_v: [12] # Version of GFortran we want to use.
14+
python-version: ["3.10"]
1515
env:
1616
FC: gfortran-${{ matrix.gcc_v }}
1717
GCC_V: ${{ matrix.gcc_v }}
1818

1919
steps:
2020
- name: Checkout code
21-
uses: actions/checkout@v3
21+
uses: actions/checkout@v4.2.2
2222
with:
2323
submodules: recursive
2424

2525
- name: Install Python
26-
uses: actions/setup-python@v4 # Use pip to install latest CMake, & FORD/Jin2For, etc.
26+
uses: actions/setup-python@v5.6.0 # Use pip to install latest CMake, & FORD/Jin2For, etc.
2727
with:
2828
python-version: ${{ matrix.python-version }}
2929

3030
- name: Setup Graphviz
31-
uses: ts-graphviz/setup-graphviz@v1
31+
uses: ts-graphviz/setup-graphviz@v2.0.2
3232

3333
- name: Setup Fortran Package Manager
34-
uses: fortran-lang/setup-fpm@v5
34+
uses: fortran-lang/setup-fpm@v7
3535
with:
3636
github-token: ${{ secrets.GITHUB_TOKEN }}
3737

3838
- name: Install Python dependencies
3939
if: contains( matrix.os, 'ubuntu')
4040
run: |
4141
python -m pip install --upgrade pip
42-
pip install numpy matplotlib ford
42+
pip install numpy matplotlib ford graphviz
4343
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
4444
4545
- name: Install GFortran Linux
@@ -71,7 +71,7 @@ jobs:
7171
COV_DIR: build/coverage
7272

7373
- name: Upload coverage report
74-
uses: codecov/codecov-action@v3
74+
uses: codecov/codecov-action@v5.4.3
7575
with:
7676
files: build/coverage/coverage.info
7777

@@ -80,7 +80,9 @@ jobs:
8080

8181
- name: Deploy Documentation
8282
if: github.ref == 'refs/heads/master'
83-
uses: JamesIves/github-pages-deploy-action@v4.4.1
83+
uses: JamesIves/github-pages-deploy-action@v4.7.3
8484
with:
8585
branch: gh-pages # The branch the action should deploy to.
8686
folder: doc # The folder the action should deploy.
87+
single-commit: true
88+

0 commit comments

Comments
 (0)