diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 5054e4e..b5027b2 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -11,6 +11,9 @@ concurrency: # Cancel intermediate builds: only if it is a pull request build. group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} +env: + R_HOME: "/opt/R/4.4.0/lib/R" + LD_LIBRARY_PATH: /opt/R/4.4.0/lib/R/lib jobs: test: name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} @@ -33,12 +36,11 @@ jobs: - uses: actions/checkout@v4 - uses: r-lib/actions/setup-r@v2 with: - r-version: '4.2.1' + r-version: '4.4.0' - name: Install R packages survival & relsurv uses: r-lib/actions/setup-r-dependencies@v2 with: packages: | - any::survival any::relsurv - uses: julia-actions/setup-julia@v2 with: @@ -46,13 +48,7 @@ jobs: arch: ${{ matrix.arch }} - uses: julia-actions/cache@v1 - uses: julia-actions/julia-buildpkg@v1 - env: - R_HOME: "/opt/R/4.2.1/lib/R" - LD_LIBRARY_PATH: /opt/R/4.2.1/lib/R/lib - uses: julia-actions/julia-runtest@v1 - env: - R_HOME: "/opt/R/4.2.1/lib/R" - LD_LIBRARY_PATH: /opt/R/4.2.1/lib/R/lib - uses: julia-actions/julia-processcoverage@v1 - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v4.3.0 @@ -70,12 +66,11 @@ jobs: - uses: actions/checkout@v4 - uses: r-lib/actions/setup-r@v2 with: - r-version: '4.2.1' + r-version: '4.4.0' - name: Install R packages survival & relsurv uses: r-lib/actions/setup-r-dependencies@v2 with: packages: | - any::survival any::relsurv - uses: julia-actions/setup-julia@v2 with: @@ -88,13 +83,8 @@ jobs: Pkg.develop(PackageSpec(path=pwd())) Pkg.instantiate() - uses: julia-actions/julia-buildpkg@v1 - env: - R_HOME: "/opt/R/4.2.1/lib/R" - LD_LIBRARY_PATH: /opt/R/4.2.1/lib/R/lib - uses: julia-actions/julia-docdeploy@v1 env: - R_HOME: "/opt/R/4.2.1/lib/R" - LD_LIBRARY_PATH: /opt/R/4.2.1/lib/R/lib GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} - name: Run doctests