Skip to content

Commit c398a56

Browse files
committed
Set minimum Julia version to 1.10 and bump version
Also fix the docs.
1 parent c3e05a2 commit c398a56

File tree

5 files changed

+19
-31
lines changed

5 files changed

+19
-31
lines changed

.github/workflows/CI.yml

Lines changed: 8 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
tags: '*'
88
pull_request:
99

10+
permissions:
11+
contents: read
12+
actions: write
13+
1014
jobs:
1115
test:
1216
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
@@ -15,37 +19,21 @@ jobs:
1519
fail-fast: false
1620
matrix:
1721
include:
18-
- { os: ubuntu-latest, version: '1.0', arch: x64}
19-
- { os: ubuntu-latest, version: '1.1', arch: x64}
20-
- { os: ubuntu-latest, version: '1.2', arch: x64}
21-
- { os: ubuntu-latest, version: '1.3', arch: x64}
22-
- { os: ubuntu-latest, version: '1.4', arch: x64}
23-
- { os: ubuntu-latest, version: '1.5', arch: x64}
24-
- { os: ubuntu-latest, version: '1.6', arch: x64}
25-
- { os: ubuntu-latest, version: '^1.7.0-0', arch: x64}
22+
- { os: ubuntu-latest, version: '1.10', arch: x64}
2623
- { os: ubuntu-latest, version: 'nightly', arch: x64}
2724
- { os: ubuntu-latest, version: '1', arch: x86 }
2825
- { os: windows-latest, version: '1', arch: x64}
2926
- { os: macOS-latest, version: '1', arch: x64}
3027

3128
steps:
32-
- uses: actions/checkout@v2
29+
- uses: actions/checkout@v4
3330

34-
- uses: julia-actions/setup-julia@v1
31+
- uses: julia-actions/setup-julia@v2
3532
with:
3633
version: ${{ matrix.version }}
3734
arch: ${{ matrix.arch }}
3835

39-
- uses: actions/cache@v1
40-
env:
41-
cache-name: cache-artifacts
42-
with:
43-
path: ~/.julia/artifacts
44-
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
45-
restore-keys: |
46-
${{ runner.os }}-test-${{ env.cache-name }}-
47-
${{ runner.os }}-test-
48-
${{ runner.os }}-
36+
- uses: julia-actions/cache@v2
4937

5038
- run: |
5139
git config --global user.name Tester

.github/workflows/Documentation.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,10 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v4
1515
- uses: julia-actions/setup-julia@latest
16-
with:
17-
version: '1'
16+
- uses: julia-actions/cache@v2
1817
- name: Install dependencies
1918
run: |
20-
julia --project=docs/ -e '
21-
using Pkg
22-
Pkg.develop([PackageSpec(path=joinpath(pwd(), "InlineTest")),
23-
PackageSpec(path=pwd())])
24-
Pkg.instantiate()'
19+
julia --project=docs/ -e 'using Pkg; Pkg.instantiate()'
2520
- name: Build and deploy
2621
env:
2722
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "ReTest"
22
uuid = "e0db7c4e-2690-44b9-bad6-7687da720f89"
33
authors = ["Rafael Fourquet <[email protected]>"]
4-
version = "0.3.3"
4+
version = "0.3.4"
55

66
[deps]
77
Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b"
@@ -16,7 +16,7 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
1616
InlineTest = "=0.2.0"
1717
Revise = "3.1"
1818
PrecompileTools = "1.2.1"
19-
julia = "1"
19+
julia = "1.10"
2020

2121
[extras]
2222
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"

docs/Project.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@ ReTest = "e0db7c4e-2690-44b9-bad6-7687da720f89"
55

66
[compat]
77
Documenter = "1"
8+
9+
[sources]
10+
ReTest = { path = ".." }
11+
InlineTest = { path = "../InlineTest" }

docs/make.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
using Documenter, ReTest
22

3-
makedocs(sitename = "ReTest.jl",
4-
modules = [ReTest, ReTest.InlineTest])
3+
makedocs(; sitename = "ReTest.jl",
4+
modules = [ReTest, ReTest.InlineTest],
5+
warnonly=[:missing_docs])
56

67

78
deploydocs(

0 commit comments

Comments
 (0)