Skip to content

Opprydning i github actions #431

Opprydning i github actions

Opprydning i github actions #431

Workflow file for this run

on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
name: lint
jobs:
lint:
runs-on: ubuntu-22.04
env:
GITHUB_PAT: ${{ secrets.GH_TOKEN }}
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:
cache-version: 2
extra-packages: |
any::lintr
needs: lint
- name: Lint
run: |
lintr::lint_package()
shell: Rscript {0}
env:
LINTR_ERROR_ON_LINT: false