From 9eb2c1d20add107a4daaac3d80455ea986b56f38 Mon Sep 17 00:00:00 2001 From: "Martin R. Smith" <1695515+ms609@users.noreply.github.com> Date: Wed, 26 Jun 2024 07:19:51 +0100 Subject: [PATCH] Update memcheck.yml --- .github/workflows/memcheck.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/memcheck.yml b/.github/workflows/memcheck.yml index 5336a4c8..963fed8c 100644 --- a/.github/workflows/memcheck.yml +++ b/.github/workflows/memcheck.yml @@ -1,6 +1,7 @@ # For help debugging build failures open an issue on the RStudio community with the 'github-actions' tag. # https://community.rstudio.com/new-topic?category=Package%20development&tags=github-actions on: + workflow_dispatch: push: branches: - main @@ -53,7 +54,7 @@ jobs: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: r-lib/actions/setup-r@v2 with: @@ -72,7 +73,7 @@ jobs: shell: Rscript {0} - name: Cache R packages - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ env.R_LIBS_USER }} key: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-${{ hashFiles('.github/depends.Rds') }} @@ -87,8 +88,8 @@ jobs: - name: Install dependencies run: | - remotes::install_deps(dependencies = TRUE) remotes::install_github('RcppCore/Rcpp') + remotes::install_deps(dependencies = TRUE) remotes::install_cran("devtools") shell: Rscript {0}