File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : " build and cache w/cachix"
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+ branches :
9+ - main
10+
11+ jobs :
12+ build-and-cache :
13+ if : github.event.pull_request.draft == false
14+ runs-on : ubuntu-latest
15+ timeout-minutes : 200
16+
17+ steps :
18+ - uses : actions/checkout@v4
19+
20+ - uses : cachix/install-nix-action@v27
21+ with :
22+ github_access_token : ${{ secrets.GITHUB_TOKEN }}
23+
24+ # TODO: does this add add anything if we're using cachix?
25+ - name : Run the Magic Nix Cache
26+ uses : DeterminateSystems/magic-nix-cache-action@main
27+
28+ - uses : cachix/cachix-action@v15
29+ with :
30+ name : justbuchanan-oasis
31+ authToken : ' ${{ secrets.CACHIX_AUTH_TOKEN }}'
32+
33+ - name : Check flake
34+ run : nix flake check
35+
36+ - name : Construct nix env
37+ run : nix develop -c echo hi
38+
39+ - name : build oasis everything
40+ run : nix develop -c make
You can’t perform that action at this time.
0 commit comments