Skip to content

Merge pull request #1108 from Homebrew/sync-shared-config #1329

Merge pull request #1108 from Homebrew/sync-shared-config

Merge pull request #1108 from Homebrew/sync-shared-config #1329

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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- name: Install Ruby
uses: ruby/setup-ruby@401c19e14f474b54450cd3905bb8b86e2c8509cf # v1.204.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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- 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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- name: Check release notes redirect
run: ruby ./.github/actions/check-redirects.rb