Skip to content

Commit 5085560

Browse files
authored
Merge pull request #4 from rerun-io/emilk/ci
Add CI job
2 parents c4033de + 67c1bb0 commit 5085560

File tree

2 files changed

+55
-0
lines changed

2 files changed

+55
-0
lines changed

.github/workflows/cpp.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
on: [push, pull_request]
2+
3+
name: C++
4+
5+
jobs:
6+
pixi-build:
7+
name: "pixi build"
8+
runs-on: ubuntu-22.04
9+
steps:
10+
- uses: actions/checkout@v4
11+
12+
- uses: prefix-dev/[email protected]
13+
with:
14+
pixi-version: v0.5.0
15+
cache: true
16+
17+
- run: pixi run build
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Check spelling and links
2+
on: [pull_request]
3+
4+
jobs:
5+
typos:
6+
# https://github.com/crate-ci/typos
7+
# Add exceptions to .typos.toml
8+
# install and run locally: cargo install typos-cli && typos
9+
name: typos
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout Actions Repository
13+
uses: actions/checkout@v4
14+
15+
- name: Check spelling of entire workspace
16+
uses: crate-ci/typos@master
17+
18+
spellcheck:
19+
name: Spellcheck
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: actions/checkout@v4
23+
- uses: streetsidesoftware/cspell-action@v2
24+
with:
25+
files: "**/*.md"
26+
27+
linkinator:
28+
name: linkinator
29+
runs-on: ubuntu-latest
30+
steps:
31+
- uses: actions/checkout@v4
32+
- uses: jprochazk/linkinator-action@main
33+
with:
34+
linksToSkip: "https://crates.io/crates/.*, http://localhost:.*" # Avoid crates.io rate-limiting
35+
retry: true
36+
retryErrors: true
37+
retryErrorsCount: 5
38+
retryErrorsJitter: 2000

0 commit comments

Comments
 (0)