Skip to content

Commit 166502a

Browse files
authored
Update GitHub action workflows (#33)
1 parent 30dee49 commit 166502a

File tree

4 files changed

+13
-36
lines changed

4 files changed

+13
-36
lines changed

.github/workflows/CompatHelper.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

.github/workflows/TagBot.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,3 @@ jobs:
1212
- uses: JuliaRegistries/TagBot@v1
1313
with:
1414
token: ${{ secrets.GITHUB_TOKEN }}
15-
ssh: ${{ secrets.DOCUMENTER_KEY }}

.github/workflows/ci.yml

Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
name: CI
22
on:
3-
- push
4-
- pull_request
3+
push:
4+
branches: [master]
5+
pull_request:
6+
types: [opened, synchronize, reopened]
7+
# needed to allow julia-actions/cache to delete old caches that it has created
8+
permissions:
9+
actions: write
10+
contents: read
511
jobs:
612
test:
713
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
@@ -10,9 +16,6 @@ jobs:
1016
fail-fast: false
1117
matrix:
1218
include:
13-
- version: 'nightly'
14-
os: ubuntu-latest
15-
arch: x64
1619
- version: '1'
1720
os: ubuntu-latest
1821
arch: x64
@@ -26,24 +29,15 @@ jobs:
2629
os: windows-latest
2730
arch: x64
2831
steps:
29-
- uses: actions/checkout@v2
30-
- uses: julia-actions/setup-julia@v1
32+
- uses: actions/checkout@v4
33+
- uses: julia-actions/setup-julia@v2
3134
with:
3235
version: ${{ matrix.version }}
3336
arch: ${{ matrix.arch }}
34-
- uses: actions/cache@v1
35-
env:
36-
cache-name: cache-artifacts
37-
with:
38-
path: ~/.julia/artifacts
39-
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
40-
restore-keys: |
41-
${{ runner.os }}-test-${{ env.cache-name }}-
42-
${{ runner.os }}-test-
43-
${{ runner.os }}-
37+
- uses: julia-actions/cache@v2
4438
- uses: julia-actions/julia-buildpkg@v1
4539
- uses: julia-actions/julia-runtest@v1
4640
- uses: julia-actions/julia-processcoverage@v1
47-
- uses: codecov/codecov-action@v1
41+
- uses: codecov/codecov-action@v4
4842
with:
4943
file: lcov.info

.github/workflows/format_check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: julia-actions/setup-julia@latest
1414
with:
1515
version: '1'
16-
- uses: actions/checkout@v1
16+
- uses: actions/checkout@v4
1717
- name: Format check
1818
shell: julia --color=yes {0}
1919
run: |

0 commit comments

Comments
 (0)