Skip to content

Commit e4ca9ac

Browse files
committed
UPD: update versions in GitHub actions
1 parent 3f21161 commit e4ca9ac

2 files changed

Lines changed: 17 additions & 18 deletions

File tree

.github/workflows/ci.yml

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
name: CI
22
on:
3-
- push
4-
- pull_request
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
types: [opened, synchronize, reopened]
8+
# needed to allow julia-actions/cache to delete old caches that it has created
9+
permissions:
10+
actions: write
11+
contents: read
512
jobs:
613
test:
714
if: "!contains(github.event.head_commit.message, 'skip ci')"
@@ -11,7 +18,7 @@ jobs:
1118
fail-fast: false
1219
matrix:
1320
version:
14-
- '1.6'
21+
- '1.10'
1522
- '1'
1623
- 'nightly'
1724
os:
@@ -21,26 +28,18 @@ jobs:
2128
arch:
2229
- x64
2330
steps:
24-
- uses: actions/checkout@v3
25-
- uses: julia-actions/setup-julia@v1
31+
- uses: actions/checkout@v6
32+
- uses: julia-actions/setup-julia@v2
2633
with:
2734
version: ${{ matrix.version }}
2835
arch: ${{ matrix.arch }}
29-
- uses: actions/cache@v3
30-
env:
31-
cache-name: cache-artifacts
32-
with:
33-
path: ~/.julia/artifacts
34-
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
35-
restore-keys: |
36-
${{ runner.os }}-test-${{ env.cache-name }}-
37-
${{ runner.os }}-test-
38-
${{ runner.os }}-
36+
- uses: julia-actions/cache@v3
3937
- uses: julia-actions/julia-buildpkg@latest
4038
continue-on-error: ${{ matrix.version == 'nightly' }}
4139
- uses: julia-actions/julia-runtest@latest
4240
continue-on-error: ${{ matrix.version == 'nightly' }}
4341
- uses: julia-actions/julia-processcoverage@v1
44-
- uses: codecov/codecov-action@v3
42+
- uses: codecov/codecov-action@v6
4543
with:
46-
file: lcov.info
44+
files: lcov.info
45+
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
name: Documentation
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v6
1515
- uses: julia-actions/setup-julia@latest
1616
with:
1717
version: '1'

0 commit comments

Comments
 (0)