From 4240b59912190546ab1d4bd0c49e3884532dd7ca Mon Sep 17 00:00:00 2001 From: nhz2 Date: Mon, 29 Jan 2024 16:30:05 -0500 Subject: [PATCH] Increase julia compat --- .github/workflows/CI.yml | 17 +++++------------ Project.toml | 8 ++------ src/MutatePlainDataArray.jl | 1 - test/runtests.jl | 3 +-- 4 files changed, 8 insertions(+), 21 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 0d7f63b..3bb1e24 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -16,8 +16,9 @@ jobs: fail-fast: false matrix: version: - - '1.6' + - '1.7' - '1.9' + - '1.10' - 'nightly' os: - ubuntu-latest @@ -26,21 +27,13 @@ jobs: arch: - x64 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@v1 with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: actions/cache@v1 - env: - cache-name: cache-artifacts - with: - path: ~/.julia/artifacts - key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} - restore-keys: | - ${{ runner.os }}-test-${{ env.cache-name }}- - ${{ runner.os }}-test- - ${{ runner.os }}- + show-versioninfo: true + - uses: julia-actions/cache@v1 - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 with: diff --git a/Project.toml b/Project.toml index da3e329..bbc21d7 100644 --- a/Project.toml +++ b/Project.toml @@ -1,14 +1,10 @@ name = "MutatePlainDataArray" uuid = "3b0f367b-da20-4531-811a-c13cc92422b5" authors = ["Haoran Ni and contributors"] -version = "0.2.0" - -[deps] -Compat = "34da2185-b29b-5c13-b0c7-acf172513d20" +version = "0.3.0" [compat] -Compat = "3.40, 4" -julia = "1.6" +julia = "1.7" [extras] Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" diff --git a/src/MutatePlainDataArray.jl b/src/MutatePlainDataArray.jl index 891d0da..9b2df30 100644 --- a/src/MutatePlainDataArray.jl +++ b/src/MutatePlainDataArray.jl @@ -2,7 +2,6 @@ module MutatePlainDataArray export aref -using Compat #--------------------------------------- # Common functions. diff --git a/test/runtests.jl b/test/runtests.jl index 823d240..c2f72ee 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,6 +1,5 @@ -using MutatePlainDataArray +using MutatePlainDataArray: MutatePlainDataArray, aref using Test -using Compat struct TAB x::Int