Skip to content

Commit 8877900

Browse files
committed
.github/workflows/test.yml: Initial commit
1 parent 699c958 commit 8877900

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: test
2+
on: [push, pull_request]
3+
4+
jobs:
5+
test:
6+
timeout-minutes: 60
7+
runs-on: ubuntu-24.04
8+
9+
steps:
10+
- name: Checkout repository
11+
uses: actions/checkout@v4
12+
13+
- name: Install Nix
14+
uses: DeterminateSystems/nix-installer-action@v18
15+
with:
16+
extra-conf: |
17+
extra-experimental-features = nix-command flakes
18+
19+
- name: Setup Nix cache
20+
uses: DeterminateSystems/magic-nix-cache-action@v11
21+
22+
- name: Build btdu
23+
run: nix build --show-trace
24+
25+
- name: Run flake checks
26+
run: nix flake check --show-trace

0 commit comments

Comments
 (0)