diff --git a/.github/workflows/Aqua.yml b/.github/workflows/Aqua.yml new file mode 100644 index 0000000..ac1b63b --- /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@v3 + - 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/Project.toml b/Project.toml index 95eed4b..0a78630 100644 --- a/Project.toml +++ b/Project.toml @@ -13,10 +13,12 @@ SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" SparseMatricesCOO = "fa32481b-f100-4b48-8dc8-c62f61b13870" [compat] +LinearAlgebra = "1.6" LinearOperators = "2.2.2, 2.3" NLPModels = "0.18, 0.19, 0.20, 0.21" NLPModelsModifiers = "0.6, 0.7" Requires = "0.3, 0.4, 0.5, 1.0" SolverCore = "0.3" +SparseArrays = "1.6" SparseMatricesCOO = "0.1.1, 0.2" -julia = "^1.0.0" +julia = "1.6"