Skip to content

Commit 5c961ae

Browse files
Merge pull request #6 from KNowledgeOnWebScale/test-ci-pr
CI: check PRs
2 parents 7d70558 + 4be3b52 commit 5c961ae

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/check-pr.yaml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Check PRs against the Bikeshed spec
2+
3+
on:
4+
# Runs on PRs targeting the default branch
5+
pull_request:
6+
branches: ["main"]
7+
8+
# Allows you to run this workflow manually from the Actions tab
9+
workflow_dispatch:
10+
11+
jobs:
12+
pr:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
- name: Build spec
18+
run: |
19+
echo "Installing bikeshed"
20+
sudo apt install pipx
21+
pipx install bikeshed
22+
echo "Building spec"
23+
bikeshed spec spec.bs
24+
- name: Turtle validation
25+
run: |
26+
echo "Validating RDF syntax"
27+
sudo apt install nodejs npm
28+
npm install -g turtle-validator
29+
ttl tss.ttl
30+

0 commit comments

Comments
 (0)