File tree 3 files changed +34
-0
lines changed
3 files changed +34
-0
lines changed Original file line number Diff line number Diff line change 4
4
.git
5
5
.github
6
6
misc
7
+ ^\.github$
Original file line number Diff line number Diff line change
1
+ * .html
Original file line number Diff line number Diff line change
1
+ # Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
2
+ # Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
3
+ on :
4
+ push :
5
+ branches : [main]
6
+ pull_request :
7
+
8
+ name : lint-project.yaml
9
+
10
+ permissions : read-all
11
+
12
+ jobs :
13
+ lint-project :
14
+ runs-on : ubuntu-latest
15
+ env :
16
+ GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
17
+ steps :
18
+ - uses : actions/checkout@v4
19
+
20
+ - uses : r-lib/actions/setup-r@v2
21
+ with :
22
+ use-public-rspm : true
23
+
24
+ - name : Install lintr
25
+ run : install.packages("lintr")
26
+ shell : Rscript {0}
27
+
28
+ - name : Lint root directory
29
+ run : lintr::lint_dir()
30
+ shell : Rscript {0}
31
+ env :
32
+ LINTR_ERROR_ON_LINT : true
You can’t perform that action at this time.
0 commit comments