forked from Submitty/submitty.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (25 loc) · 676 Bytes
/
test.yml
File metadata and controls
34 lines (25 loc) · 676 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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