Skip to content

Commit 0c4fbbf

Browse files
committed
Build the spec in the CI.
1 parent 1edd890 commit 0c4fbbf

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed

.github/workflows/spec.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Specification
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
branches-ignore:
8+
- 'gh-readonly-queue/**'
9+
pull_request:
10+
merge_group:
11+
workflow_dispatch:
12+
13+
env:
14+
DOTTY_CI_RUN: true
15+
16+
jobs:
17+
specification:
18+
runs-on: ubuntu-latest
19+
defaults:
20+
run:
21+
working-directory: ./docs/_spec
22+
23+
steps:
24+
- uses: actions/checkout@v3
25+
26+
# Keep in sync with ./docs/_spec/Dockerfile
27+
- uses: ruby/setup-ruby@v1
28+
with:
29+
ruby-version: '2.7'
30+
- name: Install required gems
31+
run: |
32+
gem update --system
33+
gem install sass-embedded -v 1.58.0
34+
gem install bundler:1.17.2 jekyll
35+
bundle install
36+
npm install bower
37+
38+
- name: Build the specification
39+
run: |
40+
bundle exec jekyll build

docs/_spec/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Keep in sync with relevant parts of .github/workflows/spec.yml
2+
13
FROM ruby:2.7
24

35
RUN apt-get install -y curl \

0 commit comments

Comments
 (0)