Skip to content

Commit 44a0d9a

Browse files
authored
Update and rename format-suggest.yml to format-check.yml (#12)
* Update and rename format-suggest.yml to format-check.yml Signed-off-by: Matthew Carroll <28577806+MJC598@users.noreply.github.com> * Update lint-project.yml Signed-off-by: Matthew Carroll <28577806+MJC598@users.noreply.github.com> --------- Signed-off-by: Matthew Carroll <28577806+MJC598@users.noreply.github.com>
1 parent 18774c6 commit 44a0d9a

3 files changed

Lines changed: 25 additions & 46 deletions

File tree

.github/workflows/format-check.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Workflow derived from https://github.com/posit-dev/setup-air/tree/main/examples
2+
3+
on:
4+
push:
5+
branches: [ main, master ]
6+
pull_request:
7+
8+
name: format-check.yml
9+
10+
permissions: read-all
11+
12+
jobs:
13+
format-check:
14+
name: format-check
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- name: Install
20+
uses: posit-dev/setup-air@v1
21+
22+
- name: Check
23+
run: air format . --check

.github/workflows/format-suggest.yml

Lines changed: 0 additions & 46 deletions
This file was deleted.

.github/workflows/lint-project.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
with:
2222
use-public-rspm: true
2323

24+
- uses: r-lib/actions/setup-renv@v2
25+
2426
- name: Install lintr
2527
run: install.packages("lintr")
2628
shell: Rscript {0}

0 commit comments

Comments
 (0)