Skip to content

Bump r-lib/actions from 2.11.3 to 2.11.4 (#406) #139

Bump r-lib/actions from 2.11.3 to 2.11.4 (#406)

Bump r-lib/actions from 2.11.3 to 2.11.4 (#406) #139

Workflow file for this run

# This workflow will do a clean install of the dependencies and run the linter
#
# Requires scripts:
# - bin/run_lints.R
name: Lint exercises
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
- uses: r-lib/actions/setup-r@6f6e5bc62fba3a704f74e7ad7ef7676c5c6a2590
with:
r-version: 4.3.1
- uses: r-lib/actions/setup-r-dependencies@6f6e5bc62fba3a704f74e7ad7ef7676c5c6a2590
with:
cache-version: 1
packages: |
lintr
- name: Run exercism/r ci pre-check (checks config, lint code) for all exercises
run: |
source("bin/run_lints.R")
shell: Rscript {0}