Skip to content

Commit 9199ee2

Browse files
authored
[CI] Minor improvements to GHA setup (#67)
* Exclude Julia v1.4 on macOS, there's an issue with Julia itself on that platform * Install dependabot * Run CI on more Julia versions * Use `julia-actions/cache` instead of `actions/cache`
1 parent 41d6411 commit 9199ee2

File tree

2 files changed

+18
-16
lines changed

2 files changed

+18
-16
lines changed

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
2+
version: 2
3+
updates:
4+
- package-ecosystem: "github-actions"
5+
directory: "/" # Location of package manifests
6+
schedule:
7+
interval: "weekly"

.github/workflows/ci.yml

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ jobs:
1919
- "1.5"
2020
- "1.6"
2121
- "1.7"
22+
- "1.8"
23+
- "1.9"
2224
- "1"
2325
- "nightly"
2426
os:
@@ -28,27 +30,20 @@ jobs:
2830
julia-arch:
2931
- x64
3032
- x86
31-
# 32-bit Julia binaries are not available on macOS
3233
exclude:
34+
# 32-bit Julia binaries are not available on macOS
3335
- os: macOS-latest
3436
julia-arch: x86
37+
# There seems to be an issue with Julia v1.4 on macOS:
38+
# https://github.com/JuliaPackaging/JLLWrappers.jl/pull/67#issuecomment-2321873551
39+
- os: macOS-latest
40+
julia-version: 1.4
3541

3642
steps:
37-
- uses: actions/checkout@v2
38-
- uses: julia-actions/setup-julia@v1
43+
- uses: actions/checkout@v4
44+
- uses: julia-actions/setup-julia@v2
3945
with:
4046
version: ${{ matrix.julia-version }}
4147
arch: ${{ matrix.julia-arch }}
42-
- name: Cache artifacts
43-
uses: actions/cache@v1
44-
env:
45-
cache-name: cache-artifacts
46-
with:
47-
path: ~/.julia/artifacts
48-
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
49-
restore-keys: |
50-
${{ runner.os }}-test-${{ env.cache-name }}-
51-
${{ runner.os }}-test-
52-
${{ runner.os }}-
53-
- uses: julia-actions/julia-buildpkg@latest
54-
- uses: julia-actions/julia-runtest@latest
48+
- uses: julia-actions/cache@v2
49+
- uses: julia-actions/julia-runtest@v1

0 commit comments

Comments
 (0)