Skip to content

Merge pull request #29 from ropensci/pkgcheck-chain #25

Merge pull request #29 from ropensci/pkgcheck-chain

Merge pull request #29 from ropensci/pkgcheck-chain #25

Workflow file for this run

name: lint
on:
push:
branches: [main, master]
pull_request:
permissions: read-all
jobs:
lint:
runs-on: ubuntu-latest
env:
LINTR_ERROR_ON_LINT: true
steps:
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::lintr, local::.
- name: Lint package
run: lintr::lint_package()
shell: Rscript {0}