From ef7e964960e9018f0f3063b81c3b940b61564d1a Mon Sep 17 00:00:00 2001 From: Oscar Dowson Date: Fri, 10 Apr 2026 09:41:15 +1200 Subject: [PATCH] Bump minimum Julia version to Julia v1.10 --- .github/workflows/ci.yml | 12 +++++++----- .github/workflows/format_check.yml | 4 ++-- Project.toml | 4 ++-- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 452c13d..f28a434 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,6 +4,10 @@ on: branches: [master] pull_request: types: [opened, synchronize, reopened] +# needed to allow julia-actions/cache to delete old caches that it has created +permissions: + actions: write + contents: read jobs: test: name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} @@ -11,12 +15,10 @@ jobs: strategy: fail-fast: false matrix: - version: ['1.6', '1'] + version: ['1.10', '1'] os: [ubuntu-latest] arch: [x64] steps: - - name: Install xmllint - run: sudo apt-get install -y curl - uses: actions/checkout@v6 - uses: julia-actions/setup-julia@v2 with: @@ -30,7 +32,7 @@ jobs: with: depwarn: error - uses: julia-actions/julia-processcoverage@v1 - - uses: codecov/codecov-action@v4 + - uses: codecov/codecov-action@v6 with: - file: lcov.info + files: lcov.info token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/format_check.yml b/.github/workflows/format_check.yml index c4482c2..9ebf405 100644 --- a/.github/workflows/format_check.yml +++ b/.github/workflows/format_check.yml @@ -13,12 +13,12 @@ jobs: - uses: julia-actions/setup-julia@latest with: version: '1' - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Format check shell: julia --color=yes {0} run: | using Pkg - Pkg.add(PackageSpec(name="JuliaFormatter", version="1")) + Pkg.add(PackageSpec(name="JuliaFormatter", version="2")) using JuliaFormatter format(".", verbose=true) out = String(read(Cmd(`git diff`))) diff --git a/Project.toml b/Project.toml index cc22252..28d4b16 100644 --- a/Project.toml +++ b/Project.toml @@ -10,8 +10,8 @@ Mosek = "6405355b-0ac2-5fba-af84-adbd65488c0e" [compat] MathOptInterface = "1.20" Mosek = "10, 11" -Test = "1.6" -julia = "1.6" +Test = "1" +julia = "1.10" [extras] Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"