Skip to content

Commit

Permalink
added concurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
Henrik Sparre Spiegelhauer (HSPU) committed Apr 16, 2024
1 parent 7273029 commit c106c8b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/R-CMD-check-versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
on:
workflow_dispatch:
workflow_call:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions: read-all

name: R-CMD-check-versions
Expand Down Expand Up @@ -51,7 +56,7 @@
)

install.packages(c("pak"), Ncpus = parallel::detectCores()-1)
#install.packages(c("pak"), Ncpus = parallel::detectCores()-1)

pak::pkg_install("rcmdcheck")
pak::pkg_install(".", dependencies=T, upgrade=T)
Expand Down

0 comments on commit c106c8b

Please sign in to comment.