Skip to content

Commit 5e65246

Browse files
committed
CI: Replace Garnix with GHA
Sorry Garnix!
1 parent f64e2d8 commit 5e65246

3 files changed

Lines changed: 39 additions & 16 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
name: CI
3+
4+
on:
5+
pull_request:
6+
branches:
7+
- main
8+
workflow_dispatch:
9+
10+
concurrency:
11+
group: ci-${{ github.ref }}
12+
cancel-in-progress: true
13+
14+
jobs:
15+
ci:
16+
name: nix flake check (${{ matrix.platform.runner }})
17+
runs-on: ${{ matrix.platform.runner }}
18+
timeout-minutes: 60
19+
strategy:
20+
fail-fast: false
21+
matrix:
22+
platform:
23+
- runner: ubuntu-latest
24+
system: x86_64-linux
25+
- runner: macos-latest
26+
system: aarch64-darwin
27+
steps:
28+
- name: Checkout code
29+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
30+
31+
- uses: cachix/install-nix-action@7be5dee1421f63d07e71ce6e0a9f8a4b07c2a487 # v31.6.1
32+
with:
33+
github_access_token: ${{ secrets.GITHUB_TOKEN }}
34+
extra_nix_config: |
35+
extra-experimental-features = nix-command flakes
36+
accept-flake-config = true
37+
38+
- name: nix flake check
39+
run: nix flake check --print-build-logs

flake.nix

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,6 @@
2121
};
2222
};
2323

24-
nixConfig = {
25-
extra-substituters = ["https://cache.garnix.io"];
26-
extra-trusted-substituters = ["https://cache.garnix.io"];
27-
extra-trusted-public-keys = ["cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="];
28-
};
29-
3024
outputs = inputs @ {
3125
self,
3226
nixpkgs,

garnix.yaml

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)