Skip to content

Commit eb373de

Browse files
authored
Fix Julia cache in CI to reduce build times (#72)
* Fix Julia cache in CI to reduce build times * Fix libcurl warning in nightly
1 parent 5a05cf8 commit eb373de

2 files changed

Lines changed: 3 additions & 12 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -52,20 +52,11 @@ jobs:
5252
run: mv grpc_test_server grpc_test_server.exe
5353
shell: pwsh
5454
working-directory: test/go
55-
- uses: julia-actions/setup-julia@v1
55+
- uses: julia-actions/setup-julia@v2
5656
with:
5757
version: ${{ matrix.version }}
5858
arch: ${{ matrix.arch }}
59-
- uses: actions/cache@v4
60-
env:
61-
cache-name: cache-artifacts
62-
with:
63-
path: ~/.julia/artifacts
64-
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
65-
restore-keys: |
66-
${{ runner.os }}-test-${{ env.cache-name }}-
67-
${{ runner.os }}-test-
68-
${{ runner.os }}-
59+
- uses: julia-actions/cache@v2
6960
- uses: julia-actions/julia-buildpkg@v1
7061
- uses: julia-actions/julia-runtest@v1
7162
timeout-minutes: 5

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ProtoBuf = "3349acd9-ac6a-5e09-bcdb-63829b23a429"
1212
[compat]
1313
julia = "1.10"
1414
FileWatching = "^1.10"
15-
LibCURL = "~0.6.4"
15+
LibCURL = "~0.6.4, 1"
1616
PrecompileTools = "^1.2"
1717
ProtoBuf = "~1.2"
1818

0 commit comments

Comments
 (0)