-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
seeing if i can replicate a bug on cran with this action
- Loading branch information
Showing
2 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Setup and run rchk test | ||
description: Setup and run rchk test | ||
inputs: | ||
setup-only: | ||
description: Setup rchk only and skip running the test. | ||
required: false | ||
default: false | ||
run-only: | ||
description: Skip the setup step and run the test directly assuming that setup was run. | ||
required: false | ||
default: false | ||
cache-version: | ||
description: The version of the cache, change this from the default (rchk-1) to start over with a fresh cache | ||
required: false | ||
default: rchk-1 | ||
runs: | ||
using: 'composite' | ||
steps: | ||
- if: inputs.run-only != 'true' | ||
name: Setup rchk | ||
run: bash $GITHUB_ACTION_PATH/setup.sh | ||
shell: bash | ||
- if: inputs.setup-only != 'true' && inputs.run-only != 'true' | ||
uses: r-lib/actions/setup-r-dependencies@v2 | ||
with: | ||
cache-version: ${{ inputs.cache-version }} | ||
- if: inputs.setup-only != 'true' | ||
name: Run rchk | ||
run: | | ||
bash $GITHUB_ACTION_PATH/run.sh | ||
shell: bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters