summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorseth <[email protected]>2024-08-26 23:51:17 -0400
committerSeth Flynn <[email protected]>2025-03-05 04:36:03 -0500
commitb229a37e59b9720b7017e72a6d159b869ff36458 (patch)
tree829090d2236ac707d5670c496781a4a888a0b700 /.github
[skip ci] initial commit
Diffstat (limited to '.github')
-rw-r--r--.github/dependabot.yml12
-rw-r--r--.github/workflows/ci.yaml38
2 files changed, 50 insertions, 0 deletions
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 0000000..9e0313c
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,12 @@
+version: 2
+updates:
+ - package-ecosystem: "github-actions"
+ directory: "/"
+ schedule:
+ interval: "weekly"
+ commit-message:
+ prefix: "ci"
+ groups:
+ actions:
+ patterns:
+ - "*"
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
new file mode 100644
index 0000000..054e4a3
--- /dev/null
+++ b/.github/workflows/ci.yaml
@@ -0,0 +1,38 @@
+name: CI
+
+on:
+ push:
+ branches: [main]
+ paths:
+ - "**.nix"
+ - ".github/workflows/ci.yaml"
+ pull_request:
+ paths:
+ - "**.nix"
+ - ".github/workflows/ci.yaml"
+ workflow_dispatch:
+
+jobs:
+ build:
+ name: Build
+
+ strategy:
+ matrix:
+ include:
+ - os: ubuntu-latest
+ system: x86_64-linux
+
+ runs-on: ${{ matrix.os }}
+
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v4
+
+ - name: Install Nix
+ uses: cachix/install-nix-action@v30
+ with:
+ nix_path: nixpkgs=channel:nixos-unstable
+
+ - name: Run build
+ run: |
+ nix-build release.nix -A ${{ matrix.system }}