diff --git a/.github/workflows/Aqua.yml b/.github/workflows/Aqua.yml new file mode 100644 index 0000000..73e12cb --- /dev/null +++ b/.github/workflows/Aqua.yml @@ -0,0 +1,20 @@ +name: Aqua +on: + push: + branches: + - main + pull_request: + types: [opened, synchronize, reopened] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@latest + with: + version: '1' + - name: Aqua.jl + run: | + PKG_SRC_PATH=`pwd` + PKG_SRC_NAME=`basename -s ".jl" $PKG_SRC_PATH` + julia --color=yes -e "using Pkg; Pkg.add(\"Aqua\"); Pkg.develop(path=\"$PKG_SRC_PATH\"); using Aqua, $PKG_SRC_NAME; Aqua.test_all($PKG_SRC_NAME, piracies=false)" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8e33b31..7b1d59c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - version: ['1.6', '1'] + version: ['lts', '1'] os: [ubuntu-latest, macos-latest, windows-latest] arch: [x64] allow_failure: [false] @@ -22,15 +22,19 @@ jobs: os: macos-latest arch: arm64 allow_failure: false - - version: 'nightly' + - version: '1' + os: ubuntu-24.04-arm + arch: arm64 + allow_failure: false + - version: 'pre' os: ubuntu-latest arch: x64 allow_failure: true - - version: 'nightly' + - version: 'pre' os: macos-latest arch: x64 allow_failure: true - - version: 'nightly' + - version: 'pre' os: windows-latest arch: x64 allow_failure: true @@ -40,7 +44,7 @@ jobs: with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: actions/cache@v1 + - uses: actions/cache@v4 env: cache-name: cache-artifacts with: diff --git a/Project.toml b/Project.toml index f6224e7..465670f 100644 --- a/Project.toml +++ b/Project.toml @@ -12,14 +12,17 @@ SolverCore = "ff4d7338-4cf1-434d-91df-b86cb86fb843" SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" [compat] -JuMP = "1.2" -LinearAlgebra = "1.6" -MathOptInterface = "1.17" -NLPModels = "0.18, 0.19, 0.20, 0.21" -Printf = "1.6" +JuMP = "1.25" +LinearAlgebra = "1.10" +MathOptInterface = "1.40" +NLPModels = "0.21.5" +NLPModelsTest = "0.10.2" +Percival = "0.7.3" +Printf = "1.10" SolverCore = "0.3" -SparseArrays = "1.6" -julia = "1.6" +SparseArrays = "1.10" +Test = "1.10" +julia = "1.10" [extras] LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" diff --git a/docs/Project.toml b/docs/Project.toml index 1589e4d..9013717 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -6,6 +6,6 @@ OptimizationProblems = "5049e819-d29b-5fba-b941-0eee7e64c1c6" [compat] Documenter = "1.0" -JuMP = "1.2 - 1.14.1" -NLPModels = "0.20" -OptimizationProblems = "0.7" +JuMP = "1.25" +NLPModels = "0.21.5" +OptimizationProblems = "0.9"