Skip to content

Commit 8c76f49

Browse files
committed
Factor out workflows for PRs & deployment
1 parent 0713666 commit 8c76f49

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed
File renamed without changes.

.github/workflows/pr.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build-with-nix:
10+
name: "Build nix package"
11+
runs-on: ubuntu-latest
12+
concurrency:
13+
group: "build-nix"
14+
cancel-in-progress: true
15+
16+
steps:
17+
- uses: actions/checkout@v4
18+
- uses: DeterminateSystems/nix-installer-action@v12
19+
- run: nix --print-build-logs build .#nemo-doc
20+
21+
check-links:
22+
name: "Check for broken links"
23+
runs-on: ubuntu-latest
24+
concurrency:
25+
group: "check-links"
26+
cancel-in-progress: true
27+
28+
steps:
29+
- uses: actions/checkout@v4
30+
- uses: DeterminateSystems/nix-installer-action@v12
31+
- run: nix --print-build-logs run .#check-links

0 commit comments

Comments
 (0)