diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 0a0ffbb..0ac2c94 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -10,28 +10,28 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - gcc_v: [10] # Version of GFortran we want to use. - python-version: [3.9] + gcc_v: [12] # Version of GFortran we want to use. + python-version: ["3.10"] env: FC: gfortran-${{ matrix.gcc_v }} GCC_V: ${{ matrix.gcc_v }} steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4.2.2 with: submodules: recursive - name: Install Python - uses: actions/setup-python@v4 # Use pip to install latest CMake, & FORD/Jin2For, etc. + uses: actions/setup-python@v5.6.0 # Use pip to install latest CMake, & FORD/Jin2For, etc. with: python-version: ${{ matrix.python-version }} - name: Setup Graphviz - uses: ts-graphviz/setup-graphviz@v1 + uses: ts-graphviz/setup-graphviz@v2.0.2 - name: Setup Fortran Package Manager - uses: fortran-lang/setup-fpm@v5 + uses: fortran-lang/setup-fpm@v7 with: github-token: ${{ secrets.GITHUB_TOKEN }} @@ -39,7 +39,7 @@ jobs: if: contains( matrix.os, 'ubuntu') run: | python -m pip install --upgrade pip - pip install numpy matplotlib ford + pip install numpy matplotlib ford graphviz if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Install GFortran Linux @@ -71,7 +71,7 @@ jobs: COV_DIR: build/coverage - name: Upload coverage report - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v5.4.3 with: files: build/coverage/coverage.info @@ -80,7 +80,9 @@ jobs: - name: Deploy Documentation if: github.ref == 'refs/heads/master' - uses: JamesIves/github-pages-deploy-action@v4.4.1 + uses: JamesIves/github-pages-deploy-action@v4.7.3 with: branch: gh-pages # The branch the action should deploy to. folder: doc # The folder the action should deploy. + single-commit: true +