[Documentation:Developer] New Vagrant Worker Instructions #1849
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: Ruby | |
on: | |
push: | |
branches: [ '*' ] | |
pull_request: | |
branches: [ '*' ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Get Ruby version | |
id: rubyversion | |
run: echo "::set-output name=version::3.2" | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ steps.rubyversion.outputs.version }} | |
bundler-cache: true | |
- name: Install dependencies | |
run: bundle install | |
- name: Build Site | |
run: bundle exec jekyll build | |
- name: Check Links | |
run: bundle exec htmlproofer ./_site --assume-extension --empty-alt-ignore --disable_external |