Skip to content

Merge pull request #187 from department-of-veterans-affairs/nhucklebe… #301

Merge pull request #187 from department-of-veterans-affairs/nhucklebe…

Merge pull request #187 from department-of-veterans-affairs/nhucklebe… #301

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@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: '.ruby-version'
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Run csvlint on acronyms file
run: bundle exec csvlint acronyms.csv