Skip to content

Merge pull request #65 from UCL/mmg/default-proposal #85

Merge pull request #65 from UCL/mmg/default-proposal

Merge pull request #65 from UCL/mmg/default-proposal #85

Workflow file for this run

name: pre-commit
on:
push:
branches:
- main
pull_request:
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v4
- name: Set up R
uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
- name: Install R dependencies
uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::pkgdown, any::styler, local::.
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install Python dependencies
run: python -m pip install pre-commit
- name: Run pre-commit
run: pre-commit run --all-files --color always --verbose