Skip to content

Commit

Permalink
Increase julia compat
Browse files Browse the repository at this point in the history
  • Loading branch information
nhz2 committed Jan 29, 2024
1 parent 27f9a52 commit 4240b59
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 21 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ jobs:
fail-fast: false
matrix:
version:
- '1.6'
- '1.7'
- '1.9'
- '1.10'
- 'nightly'
os:
- ubuntu-latest
Expand All @@ -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:
Expand Down
8 changes: 2 additions & 6 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
name = "MutatePlainDataArray"
uuid = "3b0f367b-da20-4531-811a-c13cc92422b5"
authors = ["Haoran Ni <[email protected]> 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"
Expand Down
1 change: 0 additions & 1 deletion src/MutatePlainDataArray.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ module MutatePlainDataArray

export aref

using Compat

#---------------------------------------
# Common functions.
Expand Down
3 changes: 1 addition & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using MutatePlainDataArray
using MutatePlainDataArray: MutatePlainDataArray, aref
using Test
using Compat

struct TAB
x::Int
Expand Down

0 comments on commit 4240b59

Please sign in to comment.