Skip to content
This repository was archived by the owner on Dec 14, 2025. It is now read-only.

Commit 23cdb38

Browse files
committed
initial commit
0 parents  commit 23cdb38

File tree

19 files changed

+3798
-0
lines changed

19 files changed

+3798
-0
lines changed

.envrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
watch_file *.cabal nix/modules/flake-parts/*.nix
2+
use flake

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
flake.lock linguist-generated=true

.github/workflows/ci.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: "CI"
2+
on:
3+
# Run only when pushing to master branch, and making PRs
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
jobs:
9+
build:
10+
runs-on: ${{ matrix.os }}
11+
strategy:
12+
matrix:
13+
os: [ubuntu-latest, macos-latest]
14+
steps:
15+
- uses: actions/checkout@v4
16+
- uses: DeterminateSystems/nix-installer-action@main
17+
- name: Install omnix
18+
run: |
19+
nix --accept-flake-config profile install "github:juspay/omnix"
20+
nix --version
21+
- name: Build all flake outputs
22+
run: om ci run -- -v
23+
- name: What GHC version?
24+
run: nix develop -c ghc --version
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: update-flake-lock
2+
on:
3+
workflow_dispatch: # allows manual triggering
4+
# schedule:
5+
# - cron: '0 0 * * 0' # runs weekly on Sunday at 00:00
6+
7+
jobs:
8+
lockfile:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout repository
12+
uses: actions/checkout@v3
13+
- name: Install Nix
14+
uses: DeterminateSystems/nix-installer-action@main
15+
- name: Update flake.lock
16+
uses: DeterminateSystems/update-flake-lock@main
17+
with:
18+
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
19+
pr-title: "Update flake.lock" # Title of PR to be created
20+
pr-labels: | # Labels to be set on the PR
21+
automated

.gitignore

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# cabal
2+
dist
3+
dist-*
4+
cabal.project.local
5+
cabal.project.local~
6+
7+
# nix
8+
result
9+
result-*
10+
11+
# direnv
12+
.direnv
13+
14+
/.pre-commit-config.yaml

0 commit comments

Comments
 (0)