Skip to content

Commit 56aac61

Browse files
committed
[CI] Update some GitHub Actions workflows
1 parent 8ccf581 commit 56aac61

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,9 @@ jobs:
9898
# cache-artifacts: "true"
9999
# cache-packages: "false"
100100
# cache-registries: "false"
101-
- uses: julia-actions/julia-buildpkg@latest
101+
- uses: julia-actions/julia-buildpkg@v1
102+
with:
103+
ignore-no-cache: true
102104
- name: System info
103105
run: |
104106
args=(--check-bounds=yes --color=yes --depwarn=yes --inline=yes --project=@.)
@@ -107,16 +109,24 @@ jobs:
107109
args+=(--code-coverage="@${PWD}")
108110
fi
109111
julia "${args[@]}" -e "using BinaryBuilderBase; BinaryBuilderBase.versioninfo()"
110-
- name: Run tests
112+
- name: Set up SSH agent
111113
run: |
112114
eval `ssh-agent`
113115
chmod 0600 test/id_ecdsa_deploy_helloworld_c_jll_read_only
114116
mkdir -p ~/.ssh
115117
touch ~/.ssh/known_hosts
116118
ssh-keyscan github.com >> ~/.ssh/known_hosts
117119
ssh-add test/id_ecdsa_deploy_helloworld_c_jll_read_only
118-
julia --check-bounds=yes --color=yes --depwarn=yes --inline=yes --project=@. -e 'using Pkg; Pkg.instantiate(); Pkg.test(coverage=true)'
119-
- uses: julia-actions/[email protected]
120+
- uses: julia-actions/julia-runtest@v1
121+
- uses: julia-actions/julia-processcoverage@v1
122+
- uses: codecov/codecov-action@v5
120123
continue-on-error: true
121-
- uses: julia-actions/[email protected]
124+
with:
125+
files: lcov.info
126+
- uses: coverallsapp/github-action@v2
122127
continue-on-error: true
128+
with:
129+
github-token: ${{ secrets.GITHUB_TOKEN }}
130+
path-to-lcov: lcov.info
131+
flag-name: run-${{ join(matrix.*, '-') }}
132+
parallel: true

0 commit comments

Comments
 (0)