Skip to content

Commit

Permalink
Push to cachix, opensource cache.
Browse files Browse the repository at this point in the history
  • Loading branch information
damianfral committed Nov 6, 2023
1 parent 19d65ff commit 2058007
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ jobs:
uses: actions/checkout@v4
- name: install nix
uses: cachix/install-nix-action@v23
- run: nix build
- uses: cachix/cachix-action@v12
with:
name: opensource
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix build --accept-flake-config

build-devshell:
runs-on: ubuntu-latest
Expand All @@ -18,7 +22,11 @@ jobs:
uses: actions/checkout@v4
- name: install nix
uses: cachix/install-nix-action@v23
- run: nix build .#devShells.x86_64-linux.default
- uses: cachix/cachix-action@v12
with:
name: opensource
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix build .#devShells.x86_64-linux.default --accept-flake-config

check:
runs-on: ubuntu-latest
Expand All @@ -27,4 +35,8 @@ jobs:
uses: actions/checkout@v4
- name: install nix
uses: cachix/install-nix-action@v23
- run: nix flake check
- uses: cachix/cachix-action@v12
with:
name: opensource
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix flake check --accept-flake-config

0 comments on commit 2058007

Please sign in to comment.