From f44242ea08d65e4c7cfabda81ea943e8fb0b3170 Mon Sep 17 00:00:00 2001 From: Ian Butterworth Date: Fri, 22 Nov 2024 17:19:53 -0500 Subject: [PATCH] Update CI setup (#1198) --- .github/workflows/ci.yml | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9f0d0198c..872dd67b3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,8 @@ jobs: fail-fast: false matrix: version: - - '1.6' + - 'min' + - 'lts' - '1' # automatically expands to the latest stable 1.x release of Julia - 'nightly' os: @@ -29,30 +30,21 @@ jobs: - macOS-latest - windows-latest arch: - - x64 + - default include: - os: windows-latest version: '1' arch: x86 exclude: - - os: windows-latest - version: '1.6' + - os: macOS-latest + version: 'min' # no apple silicon support for Julia 1.6 steps: - - uses: actions/checkout@v3 - - uses: julia-actions/setup-julia@v1 + - uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@v2 with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: actions/cache@v3 - env: - cache-name: cache-artifacts - with: - path: ~/.julia/artifacts - key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} - restore-keys: | - ${{ runner.os }}-test-${{ env.cache-name }}- - ${{ runner.os }}-test- - ${{ runner.os }}- + - uses: julia-actions/cache@v2 - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 env: @@ -60,15 +52,16 @@ jobs: JULIA_VERSION: ${{ matrix.version }} JULIA_NUM_THREADS: 2 - uses: julia-actions/julia-processcoverage@v1 - - uses: codecov/codecov-action@v1 + - uses: codecov/codecov-action@v5 with: - file: lcov.info + files: lcov.info + token: ${{ secrets.GITHUB_TOKEN }} docs: name: Documentation runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: julia-actions/setup-julia@v1 + - uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@v2 with: version: '1' - run: |