From 17418859d0dd1b9d35348f7cff72d836979236fd Mon Sep 17 00:00:00 2001 From: "Viral B. Shah" Date: Thu, 16 Oct 2025 23:32:52 -0400 Subject: [PATCH 1/2] Update CI --- .github/workflows/ci-julia-nightly.yml | 16 +++++-------- .github/workflows/ci.yml | 31 ++++++++------------------ 2 files changed, 14 insertions(+), 33 deletions(-) diff --git a/.github/workflows/ci-julia-nightly.yml b/.github/workflows/ci-julia-nightly.yml index d5e7ffb..149da66 100644 --- a/.github/workflows/ci-julia-nightly.yml +++ b/.github/workflows/ci-julia-nightly.yml @@ -22,28 +22,22 @@ jobs: os: - ubuntu-latest - windows-latest - - macOS-latest threads: - '1' - '3' # GitHub runners have 2 cores, so `NUM_CORES+1` is 3 version: - 'nightly' + include: + - os: macOS-latest + arch: aarch64 + version: 'nightly' steps: - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@v2 with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: actions/cache@v4 - 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 with: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 88561c2..7f649d3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: - Float64 - Float32 - Int64 - - Int32 + - Int32 os: - ubuntu-latest threads: @@ -37,16 +37,7 @@ jobs: with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: actions/cache@v4 - 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 with: @@ -58,6 +49,8 @@ jobs: - uses: codecov/codecov-action@v4 with: file: lcov.info + token: ${{ secrets.CODECOV_TOKEN }} + test: name: Julia ${{ matrix.version }}/${{ matrix.threads }} threads/${{ matrix.os }}/${{ matrix.arch }}/${{ github.event_name }} runs-on: ${{ matrix.os }} @@ -69,28 +62,22 @@ jobs: os: - ubuntu-latest - windows-latest - - macOS-latest threads: - '1' - '3' # GitHub runners have 2 cores, so `NUM_CORES+1` is 3 version: - '1' # automatically expands to the latest stable 1.x release of Julia + include: + - os: macOS-latest + arch: aarch64 + version: '1' steps: - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@v2 with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: actions/cache@v4 - 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 with: From e4ccfb84d800fff089b9cfe64d585ee19654b81d Mon Sep 17 00:00:00 2001 From: "Viral B. Shah" Date: Fri, 17 Oct 2025 02:08:18 -0400 Subject: [PATCH 2/2] Upgrade Codecov action to version 5 --- .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 7f649d3..0512180 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,7 +46,7 @@ jobs: JULIA_NUM_THREADS: ${{ matrix.threads }} JULIA_TEST_ELTYPE: ${{ matrix.eltype }} - uses: julia-actions/julia-processcoverage@v1 - - uses: codecov/codecov-action@v4 + - uses: codecov/codecov-action@v5 with: file: lcov.info token: ${{ secrets.CODECOV_TOKEN }}