From 0e27882a7cc6ef006439f25754a0e38b50bab9a5 Mon Sep 17 00:00:00 2001 From: Paulo Meira <10246101+PMeira@users.noreply.github.com> Date: Tue, 29 Oct 2024 22:15:26 -0300 Subject: [PATCH] ci.yml: Upgrade Actions, tweak Julia version matrix, add cache ARM on macOS is disabled until the next engine update (currently getting infamous "illegal instruction: 4" on CI, but not locally) --- .github/workflows/ci.yml | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 17220a29..f296284e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,6 +2,10 @@ name: CI on: [push, pull_request] +permissions: + actions: write + contents: read + jobs: test: name: Test @@ -11,21 +15,21 @@ jobs: strategy: fail-fast: false matrix: - julia-version: ['1.6', '1'] # 'nightly'] - julia-arch: [x64, x86] - os: [ubuntu-latest, windows-latest, macOS-latest] - exclude: - - os: macOS-latest - julia-arch: x86 + julia-version: ['1.6', '1.10', '1'] # 'nightly'] + os: [ubuntu-latest, windows-latest, macos-13] #, macOS-latest + # exclude: + # - os: macOS-latest + # julia-version: 1.6 steps: - - uses: actions/checkout@v3 - - uses: julia-actions/setup-julia@v1 + - uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@v2 + - uses: julia-actions/cache@v2 with: version: ${{ matrix.julia-version }} - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 - uses: julia-actions/julia-processcoverage@v1 - - uses: codecov/codecov-action@v1 + - uses: codecov/codecov-action@v4 with: file: lcov.info @@ -33,10 +37,11 @@ jobs: 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' + - uses: julia-actions/cache@v2 - uses: julia-actions/julia-buildpkg@v1 - run: | julia --project=docs -e '