Skip to content

Merge pull request #9 from Ifeanyi55/add-code-formatting-ci #2

Merge pull request #9 from Ifeanyi55/add-code-formatting-ci

Merge pull request #9 from Ifeanyi55/add-code-formatting-ci #2

Workflow file for this run

on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: r-lib/actions/setup-r@v1
- name: Install styler
run: R -e "install.packages('styler')"
- name: Check formatting
run: R -e "styler::style_dir(dry = 'on')"