We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ff8515 commit 1b683ebCopy full SHA for 1b683eb
.github/workflows/style_check.yml
@@ -0,0 +1,20 @@
1
+name: Style
2
+on:
3
+ pull_request: {branches: ['main']}
4
+
5
+jobs:
6
+ Style:
7
+ runs-on: ubuntu-latest
8
+ container: {image: "rocker/tidyverse:4.2.1"}
9
+ steps:
10
+ - name: Checkout repo
11
+ uses: actions/checkout@v4
12
+ - name: Install styler
13
+ run: install.packages("styler")
14
+ shell: Rscript {0}
15
+ - name: styler version
16
+ run: packageVersion("styler")
17
18
+ - name: Run styler
19
+ run: styler::style_dir(dry = "fail")
20
0 commit comments