From 47bdbb0b38dbc49598214ee73a6560fd33ccf4c1 Mon Sep 17 00:00:00 2001 From: Mathieu Tanneau <9593025+mtanneau@users.noreply.github.com> Date: Fri, 27 Dec 2024 14:50:19 -0500 Subject: [PATCH 1/2] Update CI workflow --- .github/workflows/ci.yml | 36 +++++++++++------------------------- 1 file changed, 11 insertions(+), 25 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 11ff2627..0f419263 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,36 +11,22 @@ jobs: name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} runs-on: ${{ matrix.os }} strategy: - fail-fast: false matrix: - version: - - '1.6' - - '1' - - 'nightly' - os: - - ubuntu-latest - - macOS-latest - - windows-latest - arch: - - x64 + julia-version: ['lts', '1', 'pre'] + julia-arch: [x64] + os: [ubuntu-latest, windows-latest, macOS-latest] + steps: - - uses: actions/checkout@v2 - - 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@v1 - 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 }}- + version: ${{ matrix.julia-version }} + arch: ${{ matrix.julia-arch }} + - uses: julia-actions/cache@v2 - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 + with: + annotate: true - uses: julia-actions/julia-processcoverage@v1 - uses: codecov/codecov-action@v1 with: From b0a2af91fa8cd54356b07659ccc1f5b1a32999ef Mon Sep 17 00:00:00 2001 From: Mathieu Tanneau <9593025+mtanneau@users.noreply.github.com> Date: Fri, 27 Dec 2024 14:56:32 -0500 Subject: [PATCH 2/2] Fix job name --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0f419263..261ec8d6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ on: types: [opened, synchronize, reopened] jobs: test: - name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} + name: Julia ${{ matrix.julia-version }} - ${{ matrix.os }} - ${{ matrix.julia-arch }} - ${{ github.event_name }} runs-on: ${{ matrix.os }} strategy: matrix: