Skip to content

Merge pull request #1020 from EricFromCanada/master #1127

Merge pull request #1020 from EricFromCanada/master

Merge pull request #1020 from EricFromCanada/master #1127

Workflow file for this run

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@cacc9f1c0b3f4eb8a16a6bb0ed10897b43b9de49 # v1.176.0
with:
ruby-version: "2.7"
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