Skip to content

Commit 1e7afc0

Browse files
committed
CI: Replace Garnix with GHA
Sorry Garnix!
1 parent 33f693d commit 1e7afc0

3 files changed

Lines changed: 36 additions & 16 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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+
- runner: macos-latest
25+
steps:
26+
- name: Checkout code
27+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
28+
29+
- uses: cachix/install-nix-action@7be5dee1421f63d07e71ce6e0a9f8a4b07c2a487 # v31.6.1
30+
with:
31+
github_access_token: ${{ secrets.GITHUB_TOKEN }}
32+
extra_nix_config: |
33+
accept-flake-config = true
34+
35+
- name: nix flake check
36+
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)