Skip to content

fix(R-CMD-check): Move "devel" r version to devel job #5

fix(R-CMD-check): Move "devel" r version to devel job

fix(R-CMD-check): Move "devel" r version to devel job #5

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:
workflow_call
inputs:

Check failure on line 6 in .github/workflows/lint.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/lint.yaml

Invalid workflow file

You have an error in your yaml syntax on line 6
cache_version:
type: string
default: '1'
jobs:
lint:
name: 🖋️ Lint
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
- name: Install dependencies
uses: r-lib/actions/setup-r-dependencies@v2
with:
cache-version: ${{ inputs.cache_version }}
extra-packages: |
local::.
any::pak
any::jsonlite
any::rcmdcheck
any::devtools,
any::lintr
any::covr
any::roxygen2,
any::pkgdown
needs: build, check, coverage, roxygen2, lint, website
- name: Lint
run: devtools::load_all(); lintr::lint_package()
shell: Rscript {0}
env:
LINTR_ERROR_ON_LINT: true