Skip to content

Commit

Permalink
Dealing with styler
Browse files Browse the repository at this point in the history
  • Loading branch information
gvegayon committed Oct 7, 2024
1 parent 1adc21b commit 4cd89fb
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v3

- name: Set up R
uses: r-lib/actions/setup-r@v2
# - name: Set up R
# uses: r-lib/actions/setup-r@v2

- name: Cache pre-commit
uses: actions/cache@v4
Expand All @@ -41,11 +41,11 @@ jobs:
pre-commit install --install-hooks
shell: bash

- name: Install styler
run: |
options(repos = c(CRAN = "https://packagemanager.posit.co/cran/__linux__/jammy/latest"))
install.packages("styler")
shell: Rscript {0}
# - name: Install styler
# run: |
# options(repos = c(CRAN = "https://packagemanager.posit.co/cran/__linux__/jammy/latest"))
# install.packages("styler")
# shell: Rscript {0}

- name: Run pre-commit hooks
run: pre-commit run --all-files

0 comments on commit 4cd89fb

Please sign in to comment.