From 2755555d388e595667a72aba881cfc63c79b92fa Mon Sep 17 00:00:00 2001 From: liuyxpp Date: Fri, 19 Jun 2020 09:02:59 +0800 Subject: [PATCH] Update compat. --- .github/workflows/CompatHelper.yml | 17 +++++++++++++++++ Project.toml | 4 ++++ 2 files changed, 21 insertions(+) create mode 100644 .github/workflows/CompatHelper.yml diff --git a/.github/workflows/CompatHelper.yml b/.github/workflows/CompatHelper.yml new file mode 100644 index 0000000..1196d8a --- /dev/null +++ b/.github/workflows/CompatHelper.yml @@ -0,0 +1,17 @@ +name: CompatHelper + +on: + schedule: + - cron: '00 00 * * *' + +jobs: + CompatHelper: + runs-on: ubuntu-latest + steps: + - name: Pkg.add("CompatHelper") + run: julia -e 'using Pkg; Pkg.add("CompatHelper")' + - name: CompatHelper.main() + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + COMPATHELPER_PRIV: ${{ secrets.COMPATHELPER_PRIV }} # optional + run: julia -e 'using CompatHelper; CompatHelper.main()' \ No newline at end of file diff --git a/Project.toml b/Project.toml index d51f7ef..2ba05ad 100644 --- a/Project.toml +++ b/Project.toml @@ -5,3 +5,7 @@ version = "0.1.0" [deps] ArgCheck = "dce04be8-c92d-5529-be00-80e4d2c0e197" + +[compat] +ArgCheck = "^2.0" +julia = "1.0" \ No newline at end of file