mirror of
https://github.com/msberends/AMR.git
synced 2025-07-21 22:13:17 +02:00
(v1.2.0.9028) GitHub actions
This commit is contained in:
7
.github/workflows/lintr.yaml
vendored
7
.github/workflows/lintr.yaml
vendored
@ -26,12 +26,13 @@ on:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- premaster
|
||||
- master
|
||||
|
||||
name: lint
|
||||
name: lintr
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
lintr:
|
||||
runs-on: macOS-latest
|
||||
env:
|
||||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
|
||||
@ -62,5 +63,5 @@ jobs:
|
||||
shell: Rscript {0}
|
||||
|
||||
- name: Lint
|
||||
run: lint_package(linters = with_defaults(line_length_linter = NULL, trailing_whitespace_linter = NULL, object_name_linter = NULL, cyclocomp_linter = NULL, object_usage_linter = NULL, object_length_linter = object_length_linter(length = 50L)), exclusions = list("R/aa_helper_functions_dplyr.R"))
|
||||
run: lintr::lint_package(linters = with_defaults(line_length_linter = NULL, trailing_whitespace_linter = NULL, object_name_linter = NULL, cyclocomp_linter = NULL, object_usage_linter = NULL, object_length_linter = object_length_linter(length = 50L)), exclusions = list("R/aa_helper_functions_dplyr.R"))
|
||||
shell: Rscript {0}
|
||||
|
Reference in New Issue
Block a user