Skip to content

Commit bea3617

Browse files
committed
Add CI job to build the site
1 parent b6feffa commit bea3617

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/test.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
name: Build site on PR
3+
4+
on:
5+
pull_request: {}
6+
push:
7+
branches:
8+
- master
9+
10+
permissions:
11+
contents: read
12+
13+
jobs:
14+
rake_checks:
15+
name: Rake Checks
16+
runs-on: ubuntu-24.04
17+
steps:
18+
# needs fetch-depth because the packaging dem reads old git tags
19+
- name: Checkout current PR
20+
uses: actions/checkout@v4
21+
with:
22+
fetch-depth: 0
23+
- name: Install Ruby version 3.3
24+
uses: ruby/setup-ruby@v1
25+
with:
26+
ruby-version: 3.3
27+
bundler-cache: true
28+
- name: Validate code
29+
run: bundle exec rake generate

0 commit comments

Comments
 (0)