-
Notifications
You must be signed in to change notification settings - Fork 16
30 lines (30 loc) · 1001 Bytes
/
CompatHelper.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# https://github.com/JuliaRegistries/CompatHelper.jl
name: CompatHelper
on:
schedule:
- cron: '0 0 * * *' # every day at midnight
workflow_dispatch:
jobs:
CompatHelper:
runs-on: ubuntu-latest
steps:
- name: Check if Julia is already available
id: julia_in_path
run: which julia
continue-on-error: true
- name: Set up Julia if not already available
uses: julia-actions/setup-julia@v2
with:
version: '1'
arch: ${{ runner.arch }}
if: steps.julia_in_path.outcome != 'success'
- name: Install CompatHelper
run: julia -e 'import Pkg; Pkg.add("CompatHelper")'
- name: Run CompatHelper
run: |
julia -e 'import CompatHelper;
CompatHelper.main(; subdirs=["", "test", "docs"],
bump_compat_containing_equality_specifier=false)'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}