Skip to content

Release/v0.2.0

Release/v0.2.0 #178

Workflow file for this run

# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
name: lint
permissions: read-all
jobs:
lint:
runs-on: ubuntu-latest
container:
image: rocker/tidyverse
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Install git
run: |
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends git
- name: Checkout repo
uses: actions/checkout@v6
- name: Install phslookups + dependancies + lintr + other required packages
uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::lintr, any::lifecycle, any::cyclocomp, local::.
needs: lint
- name: Lint the package
run: lintr::lint_package()
shell: Rscript {0}
env:
LINTR_ERROR_ON_LINT: true