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