Skip to content

Commit 2cc1a3e

Browse files
chore: split up ci runs
1 parent 653d636 commit 2cc1a3e

2 files changed

Lines changed: 27 additions & 3 deletions

File tree

.github/workflows/nix-required.yml renamed to .github/workflows/nix-formatting-and-linting.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: nix-required
1+
name: nix-formatting-and-linting
22

33
on:
44
pull_request:
@@ -24,5 +24,3 @@ jobs:
2424
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
2525
- name: Build required formatting and lintingjob
2626
run: nix build .#hydraJobs.x86_64-linux.required.formattingLinting --print-build-logs
27-
- name: Build required native job
28-
run: nix build .#hydraJobs.x86_64-linux.required.native --print-build-logs

.github/workflows/nix-native.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: nix-native
2+
3+
on:
4+
pull_request:
5+
workflow_dispatch:
6+
push:
7+
branches:
8+
- main
9+
10+
jobs:
11+
hydra-required:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v6
15+
- uses: cachix/install-nix-action@v31
16+
with:
17+
extra_nix_config: |
18+
experimental-features = nix-command flakes
19+
accept-flake-config = true
20+
- name: Set up Cachix (push)
21+
uses: cachix/cachix-action@v16
22+
with:
23+
name: genesis-sync-accelerator
24+
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
25+
- name: Build required native job
26+
run: nix build .#hydraJobs.x86_64-linux.required.native --print-build-logs

0 commit comments

Comments
 (0)