style and docs: run devtools::document() and styler::style_pkg() #2
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
# document and style R code using a reusable workflow | |
name: call-doc-and-style-r | |
# on specifies the build triggers. See more info at https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows | |
on: | |
workflow_dispatch: | |
push: | |
branches: [main] | |
paths: | |
- 'R/**' | |
jobs: | |
call-workflow: | |
uses: nmfs-fish-tools/ghactions4r/.github/workflows/doc-and-style-r.yml@main | |