-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (25 loc) · 824 Bytes
/
lint.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# 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, pull_request]
name: lint
jobs:
lint:
runs-on: windows-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
- name: Install ospsuite ecosystem and cran packages
run: |
Rscript .github/workflows/install_dependencies.R
- name: Install lintr
run: Rscript -e "install.packages('lintr',repos='http://cran.rstudio.com/')"
- name: Lint
run: |
Rscript .github/workflows/run_lintr.R