Skip to content

Commit 4f7a7d6

Browse files
authored
Drop support for Julia 1.6. (#451)
* Drop support for 1.6. * Update CI definition.
1 parent 8abed58 commit 4f7a7d6

File tree

4 files changed

+14
-19
lines changed

4 files changed

+14
-19
lines changed

.github/workflows/CI.yml

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
branches:
66
- master
77
tags: '*'
8+
# needed to allow julia-actions/cache to delete old caches that it has created
9+
permissions:
10+
actions: write
11+
contents: read
812
jobs:
913
test:
1014
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
@@ -13,7 +17,7 @@ jobs:
1317
fail-fast: false
1418
matrix:
1519
version:
16-
- '1.6'
20+
- 'lts' # lts
1721
- '1'
1822
- 'nightly'
1923
os:
@@ -24,20 +28,11 @@ jobs:
2428
- x64
2529
steps:
2630
- uses: actions/checkout@v4
27-
- uses: julia-actions/setup-julia@v1
31+
- uses: julia-actions/setup-julia@v2
2832
with:
2933
version: ${{ matrix.version }}
3034
arch: ${{ matrix.arch }}
31-
- uses: actions/cache@v4
32-
env:
33-
cache-name: cache-artifacts
34-
with:
35-
path: ~/.julia/artifacts
36-
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
37-
restore-keys: |
38-
${{ runner.os }}-test-${{ env.cache-name }}-
39-
${{ runner.os }}-test-
40-
${{ runner.os }}-
35+
- uses: julia-actions/cache@v2
4136
- uses: julia-actions/julia-buildpkg@v1
4237
- uses: julia-actions/julia-runtest@v1
4338
- uses: julia-actions/julia-processcoverage@v1
@@ -52,9 +47,9 @@ jobs:
5247
runs-on: ubuntu-latest
5348
steps:
5449
- uses: actions/checkout@v4
55-
- uses: julia-actions/setup-julia@latest
50+
- uses: julia-actions/setup-julia@v2
5651
with:
57-
version: '1'
52+
version: 'lts'
5853
- name: Install dependencies
5954
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
6055
- name: Fetch files for documentation examples

.github/workflows/CompatHelper.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
steps:
1111
- uses: julia-actions/setup-julia@latest
1212
with:
13-
version: 1.6
13+
version: 1.10
1414
- name: Pkg.add("CompatHelper")
1515
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
1616
- name: CompatHelper.main()

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ ImageCore = "0.8, 0.9, 0.10"
4242
Makie = "0.20, 0.21"
4343
Tables = "1"
4444
JLD2 = "0.4, 0.5"
45-
julia = "1.6"
45+
julia = "1.10"
4646

4747
[extras]
4848
Makie = "ee78f7c6-11fb-53f2-987a-cfe4a2b5a57a"

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ $ julia --project
7272
3. Activate the environment corresponding to `Project.toml`):
7373

7474
```julia
75-
(@v1.6) pkg> activate .
76-
Activating environment at `~/.julia/environments/v1.6/Project.toml`
75+
(@v1.10) pkg> activate .
76+
Activating environment at `~/.julia/environments/v1.10/Project.toml`
7777
```
7878

79-
4. Manage the dependencies using Pkg in https://pkgdocs.julialang.org/v1.6/managing-packages/, e.g.
79+
4. Manage the dependencies using Pkg in https://pkgdocs.julialang.org/v1.10/managing-packages/, e.g.
8080

8181
```julia
8282
(ArchGDAL) pkg> st

0 commit comments

Comments
 (0)