Synchronize shared configuration #1234
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Git repository | |
uses: actions/checkout@main | |
- name: Install Ruby | |
uses: ruby/setup-ruby@a6e6f86333f0a2523ece813039b8b4be04560854 # v1.190.0 | |
with: | |
bundler-cache: true | |
- name: Run HTML Proofer tests | |
run: bundle exec rake test | |
vale: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Git repository | |
uses: actions/checkout@main | |
- name: Set up Homebrew | |
id: set-up-homebrew | |
uses: Homebrew/actions/setup-homebrew@master | |
- name: Install vale | |
run: brew install vale | |
- name: Run Vale linting on Markdown files | |
run: vale --config=$(brew --repo)/.vale.ini _posts/ | |
check-redirects: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Git repository | |
uses: actions/checkout@main | |
- name: Check release notes redirect | |
run: ruby ./.github/actions/check-redirects.rb |