Skip to content

TJO/FJO

TJO/FJO #140

Workflow file for this run

---
name: Acronym CI
# Validates formatting of acronym file
# Triggers the workflow on push or pull request events but only on PRs for the master branch
# Note: removed path filter as workaround for https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/troubleshooting-required-status-checks#handling-skipped-but-required-checks
on:
push:
paths:
pull_request:
branches: [ master ]
jobs:
build:
name: acronym-lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Run csvlint on acronyms file
run: bundle exec csvlint acronyms.csv