diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index a056b43..22af39f 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -1,12 +1,9 @@ name: CI on: - pull_request: - branches: - - master push: - branches: - - master - tags: '*' + branches: [master] + tags: ["*"] + pull_request: jobs: test: name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} @@ -15,7 +12,7 @@ jobs: fail-fast: false matrix: version: - - '1.2' + - '1.6' - '1' - 'nightly' os: @@ -49,20 +46,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: julia-actions/setup-julia@v1 - with: - version: '1' - - run: | - julia --project=docs -e ' - using Pkg - Pkg.develop(PackageSpec(path=pwd())) - Pkg.instantiate()' - - run: | - julia --project=docs -e ' - using Documenter: doctest - using Survival - doctest(Survival)' - - run: julia --project=docs docs/make.jl + - uses: julia-actions/julia-buildpkg@latest + - uses: julia-actions/julia-docdeploy@latest env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} diff --git a/Project.toml b/Project.toml index d4725bf..062ac55 100644 --- a/Project.toml +++ b/Project.toml @@ -11,14 +11,14 @@ StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91" StatsModels = "3eaba693-59b7-5ba5-a881-562e759f1c8d" [compat] -CategoricalArrays = "0.9" +CategoricalArrays = "0.9, 0.10" Compat = "3.43, 4" DataFrames = "1" Distributions = "0.20, 0.21, 0.22, 0.23, 0.24, 0.25" Optim = "1" StatsBase = "0.30, 0.31, 0.32, 0.33" StatsModels = "0.6" -julia = "1.2" +julia = "1.6" [extras] CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"