From b8472a09f917d098961a65f140843f087d13f7b4 Mon Sep 17 00:00:00 2001 From: lkdvos Date: Fri, 24 Jul 2026 12:45:26 -0400 Subject: [PATCH] CI maintenance: native macOS arch + Julia Dependabot - ci.yml: stop forcing `arch: x64`. `macOS-latest` is now an Apple Silicon (arm64) runner, so requesting x64 made setup-julia fail on all macOS jobs. Dropping the arch axis lets each runner use its native architecture (ubuntu/windows x64, macOS aarch64). - dependabot.yml: add the `julia` package ecosystem (grouped into a single PR) alongside the existing github-actions updates, matching the rest of the ecosystem (e.g. MPSKit.jl). Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/dependabot.yml | 8 ++++++++ .github/workflows/ci.yml | 12 ++++-------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 700707c..ee8e408 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,3 +5,11 @@ updates: directory: "/" # Location of package manifests schedule: interval: "weekly" + - package-ecosystem: "julia" + directory: "/" + schedule: + interval: "weekly" + groups: # group all julia package updates into a single PR + all-julia-packages: + patterns: + - "*" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b242a2e..545a307 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ concurrency: jobs: test: - name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} + name: Julia ${{ matrix.version }} - ${{ matrix.os }} runs-on: ${{ matrix.os }} timeout-minutes: 60 permissions: # needed to allow julia-actions/cache to proactively delete old caches that it has created @@ -32,14 +32,13 @@ jobs: - ubuntu-latest - macOS-latest - windows-latest - arch: - - x64 steps: - uses: actions/checkout@v6 - uses: julia-actions/setup-julia@v3 with: version: ${{ matrix.version }} - arch: ${{ matrix.arch }} + # arch omitted: defaults to the runner's native arch + # (macOS-latest is Apple Silicon / aarch64) - uses: julia-actions/cache@v3 - uses: julia-actions/julia-buildpkg@latest - uses: julia-actions/julia-runtest@latest @@ -51,7 +50,7 @@ jobs: fail_ci_if_error: false test-nightly: needs: test - name: Julia nightly - ${{ matrix.os }} - ${{ matrix.arch }} + name: Julia nightly - ${{ matrix.os }} runs-on: ${{ matrix.os }} timeout-minutes: 60 permissions: # needed to allow julia-actions/cache to proactively delete old caches that it has created @@ -65,14 +64,11 @@ jobs: - 'nightly' os: - ubuntu-latest - arch: - - x64 steps: - uses: actions/checkout@v6 - uses: julia-actions/setup-julia@v3 with: version: ${{ matrix.version }} - arch: ${{ matrix.arch }} - uses: julia-actions/cache@v3 - uses: julia-actions/julia-buildpkg@latest - uses: julia-actions/julia-runtest@latest