From cad348250cd321e161ef155cc79683b8b63ed47f 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 | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 17220a29..52894a6f 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,32 +15,34 @@ 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 with: version: ${{ matrix.julia-version }} + - uses: julia-actions/cache@v2 - 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 + fail_ci_if_error: false 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' + - uses: julia-actions/cache@v2 - uses: julia-actions/julia-buildpkg@v1 - run: | julia --project=docs -e '