From 76a00c58fcdfdd48f0e3e8c6c384bf9ea003deee Mon Sep 17 00:00:00 2001 From: Jesper Stemann Andersen Date: Thu, 9 Apr 2026 08:09:38 +0200 Subject: [PATCH] CI: Updated GitHub workflows Refreshed the workflow configuration to match the current GitHub-hosted runner layout and the current Julia package maintenance guidance. Split the macOS matrix into arm64 and Intel lanes, added an explicit lts lane alongside Julia 1.6, limited coverage upload to one stable Linux job, and updated the cache, Codecov, and formatter actions. Replaced CompatHelper with Dependabot for Julia dependency updates, following the current PkgTemplates default, while keeping GitHub Actions dependency updates enabled. --- .github/dependabot.yml | 9 ++++++++- .github/workflows/CI.yml | 21 ++++++++++++++++++--- .github/workflows/CompatHelper.yml | 16 ---------------- .github/workflows/Format.yml | 2 +- 4 files changed, 27 insertions(+), 21 deletions(-) delete mode 100644 .github/workflows/CompatHelper.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 700707c..e770cad 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -2,6 +2,13 @@ version: 2 updates: - package-ecosystem: "github-actions" - directory: "/" # Location of package manifests + directory: "/" + schedule: + interval: "weekly" + - package-ecosystem: "julia" + directories: + - "/" + - "/docs" + - "/test" schedule: interval: "weekly" diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index f1d6602..bac10ea 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -24,28 +24,43 @@ jobs: matrix: version: - '1' + - lts - '1.6' os: - ubuntu-latest - - macOS-latest + - macOS-latest # aarch64 runner + - macOS-15-intel # x64 runner - windows-latest arch: - x64 + - aarch64 - x86 exclude: + - os: macOS-15-intel + arch: aarch64 - os: macOS-latest + arch: x64 + - os: macOS-latest + version: '1.6' + - os: macOS-latest + arch: x86 + - os: macOS-15-intel arch: x86 + - os: ubuntu-latest + arch: aarch64 + - os: windows-latest + arch: aarch64 steps: - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@v2 with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: julia-actions/cache@v2 + - uses: julia-actions/cache@v3 - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 - uses: julia-actions/julia-processcoverage@v1 - - uses: codecov/codecov-action@v4 + - uses: codecov/codecov-action@v5 with: files: lcov.info token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/CompatHelper.yml b/.github/workflows/CompatHelper.yml deleted file mode 100644 index cba9134..0000000 --- a/.github/workflows/CompatHelper.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: CompatHelper -on: - schedule: - - cron: 0 0 * * * - workflow_dispatch: -jobs: - CompatHelper: - runs-on: ubuntu-latest - steps: - - name: Pkg.add("CompatHelper") - run: julia -e 'using Pkg; Pkg.add("CompatHelper")' - - name: CompatHelper.main() - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }} - run: julia -e 'using CompatHelper; CompatHelper.main()' diff --git a/.github/workflows/Format.yml b/.github/workflows/Format.yml index 5a0c29c..05bed6e 100644 --- a/.github/workflows/Format.yml +++ b/.github/workflows/Format.yml @@ -5,4 +5,4 @@ jobs: code-style: runs-on: ubuntu-latest steps: - - uses: julia-actions/julia-format@v3 + - uses: julia-actions/julia-format@v4