Check π #131
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
--- | |
name: Check π | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- ready_for_review | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
# Rerun workflows once pkgdown has finished running, to add coverage | |
# and unit test report to gh-pages branch. | |
workflow_run: | |
workflows: ["Docs π"] | |
types: | |
- completed | |
jobs: | |
audit: | |
name: Audit Dependencies π΅οΈββοΈ | |
uses: insightsengineering/r.pkg.template/.github/workflows/audit.yaml@main | |
r-cmd: | |
name: R CMD Check 𧬠| |
uses: insightsengineering/r.pkg.template/.github/workflows/build-check-install.yaml@main | |
secrets: | |
REPO_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
additional-r-cmd-check-params: --as-cran | |
coverage: | |
name: Coverage π | |
uses: insightsengineering/r.pkg.template/.github/workflows/test-coverage.yaml@main | |
secrets: | |
REPO_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
linter: | |
if: github.event_name == 'pull_request' | |
name: SuperLinter π¦ΈββοΈ | |
uses: insightsengineering/r.pkg.template/.github/workflows/linter.yaml@main | |
roxygen: | |
name: Roxygen π Ύ | |
uses: insightsengineering/r.pkg.template/.github/workflows/roxygen.yaml@main | |
secrets: | |
REPO_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
auto-update: true | |
gitleaks: | |
name: gitleaks π§ | |
uses: insightsengineering/r.pkg.template/.github/workflows/gitleaks.yaml@main | |
spelling: | |
if: github.event_name == 'pull_request' | |
name: Spell Check π | |
uses: insightsengineering/r.pkg.template/.github/workflows/spelling.yaml@main | |
links: | |
if: github.event_name == 'pull_request' | |
name: Check URLs π | |
uses: insightsengineering/r.pkg.template/.github/workflows/links.yaml@main | |
vbump: | |
name: Version Bump π€π€ | |
if: github.event_name == 'push' | |
uses: insightsengineering/r.pkg.template/.github/workflows/version-bump.yaml@main | |
secrets: | |
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} | |
version: | |
name: Version Check π | |
uses: insightsengineering/r.pkg.template/.github/workflows/version.yaml@main | |
licenses: | |
name: License Check π | |
uses: insightsengineering/r.pkg.template/.github/workflows/licenses.yaml@main | |
style: | |
if: github.event_name == 'pull_request' | |
name: Style Check π | |
uses: insightsengineering/r.pkg.template/.github/workflows/style.yaml@main | |
with: | |
auto-update: true |