Skip to content

Commit

Permalink
def lint.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pdwaggoner authored Nov 21, 2024
1 parent 1fd51d7 commit 977997d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Lint R Code

on: [push, pull_request]

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up R
uses: r-lib/actions/setup-r@v2
- name: Install dependencies
run: |
install.packages('lintr')
- name: Run lintr
run: |
library(lintr)
lint_dir()

0 comments on commit 977997d

Please sign in to comment.