Skip to content

Commit 2fb1bab

Browse files
committed
dev: add CI
1 parent 33b0836 commit 2fb1bab

2 files changed

Lines changed: 42 additions & 0 deletions

File tree

.github/renovate.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:recommended"
5+
],
6+
"nix": {
7+
"enabled": true
8+
},
9+
"schedule": [
10+
"every weekend"
11+
],
12+
"lockFileMaintenance": {
13+
"enabled": true
14+
}
15+
}

.github/workflows/ci.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: "Check devflake"
2+
3+
on:
4+
pull_request:
5+
push:
6+
7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.ref }}
9+
cancel-in-progress: true
10+
11+
jobs:
12+
tests-flakes:
13+
strategy:
14+
matrix:
15+
os: [ubuntu-latest]
16+
runs-on: ${{ matrix.os }}
17+
steps:
18+
- uses: actions/checkout@v6
19+
- uses: cachix/install-nix-action@v31
20+
- uses: cachix/cachix-action@v16
21+
with:
22+
name: pre-commit-hooks
23+
- run: rm -rf /opt&
24+
25+
- name: Check flake
26+
working-directory: ./
27+
run: nix flake check -L --show-trace --no-write-lock-file

0 commit comments

Comments
 (0)