Skip to content

Commit 4a71a13

Browse files
committed
CI
1 parent 24bba6b commit 4a71a13

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: ci
2+
on:
3+
- push
4+
- workflow_dispatch
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- name: Check out code
11+
uses: actions/checkout@v2
12+
13+
- name: Install Nix
14+
uses: cachix/install-nix-action@v30
15+
with:
16+
github_access_token: ${{ secrets.GITHUB_TOKEN }}
17+
18+
- name: Setup Attic cache
19+
uses: ryanccn/attic-action@v0
20+
with:
21+
endpoint: ${{ secrets.ATTIC_ENDPOINT }}
22+
cache: ${{ secrets.ATTIC_CACHE }}
23+
token: ${{ secrets.ATTIC_TOKEN }}
24+
25+
- name: Test
26+
run: nix develop -c cargo test

0 commit comments

Comments
 (0)