From a8920c62d33461f07159ff21ef5f021054fb16e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mos=C3=A8=20Giordano?= Date: Sat, 29 Nov 2025 02:40:58 +0000 Subject: [PATCH] Require Julia v1.6 and update CI setup --- .github/dependabot.yml | 7 +++++++ .github/workflows/ci.yml | 24 +++++++++++++++--------- Project.toml | 2 +- 3 files changed, 23 insertions(+), 10 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..700707c --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,7 @@ +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" # Location of package manifests + schedule: + interval: "weekly" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 70aa0f5..1c16ec3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,38 +11,44 @@ jobs: test: name: Julia ${{ matrix.julia-version }} - ${{ matrix.os }} - ${{ matrix.julia-arch }} runs-on: ${{ matrix.os }} + env: + JULIA_NUM_THREADS: auto strategy: fail-fast: false matrix: julia-version: - - "1.0" + - "min" - "1" - "nightly" os: - ubuntu-latest - macos-latest julia-arch: - - x64 + - default steps: - - uses: actions/checkout@v3 - - uses: julia-actions/setup-julia@v1 + - uses: actions/checkout@v6 + - uses: julia-actions/setup-julia@v2 with: version: ${{ matrix.julia-version }} arch: ${{ matrix.julia-arch }} - - uses: julia-actions/cache@v1 + - 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@v3 + - uses: codecov/codecov-action@v5 + with: + token: ${{ secrets.CODECOV_TOKEN }} + files: lcov.info + continue-on-error: true Documentation: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: julia-actions/setup-julia@latest + - uses: actions/checkout@v6 + - uses: julia-actions/setup-julia@v2 with: version: 1 - - uses: julia-actions/cache@v1 + - uses: julia-actions/cache@v2 with: cache-registries: "true" - uses: julia-actions/julia-docdeploy@v1 diff --git a/Project.toml b/Project.toml index 70bfc6f..b220c5e 100644 --- a/Project.toml +++ b/Project.toml @@ -7,7 +7,7 @@ version = "1.0" StyledStrings = "f489334b-da3d-4c2e-b8f0-e476e12c162b" [compat] -julia = "1" +julia = "1.6" [extras] Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"