Skip to content

Commit 2289f06

Browse files
authored
Update CI.yml
1 parent 83a183e commit 2289f06

File tree

1 file changed

+12
-31
lines changed

1 file changed

+12
-31
lines changed

.github/workflows/CI.yml

Lines changed: 12 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,16 @@
1-
name: CI
1+
name: CompatHelper
22
on:
3-
- push
4-
- pull_request
3+
schedule:
4+
- cron: 0 0 * * *
5+
workflow_dispatch:
56
jobs:
6-
test:
7-
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
8-
runs-on: ${{ matrix.os }}
9-
strategy:
10-
fail-fast: false
11-
matrix:
12-
version:
13-
- '1'
14-
os:
15-
- ubuntu-latest
16-
arch:
17-
- x64
7+
CompatHelper:
8+
runs-on: ubuntu-latest
189
steps:
19-
- uses: actions/checkout@v2
20-
- uses: julia-actions/setup-julia@v1
21-
with:
22-
version: ${{ matrix.version }}
23-
arch: ${{ matrix.arch }}
24-
- uses: actions/cache@v1
10+
- name: Pkg.add("CompatHelper")
11+
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
12+
- name: CompatHelper.main()
2513
env:
26-
cache-name: cache-artifacts
27-
with:
28-
path: ~/.julia/artifacts
29-
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
30-
restore-keys: |
31-
${{ runner.os }}-test-${{ env.cache-name }}-
32-
${{ runner.os }}-test-
33-
${{ runner.os }}-
34-
- uses: julia-actions/julia-buildpkg@v1
35-
- uses: julia-actions/julia-runtest@v1
14+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15+
COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}
16+
run: julia -e 'using CompatHelper; CompatHelper.main()'

0 commit comments

Comments
 (0)