mirror of
https://github.com/ryanccn/attic-action.git
synced 2024-11-19 22:16:35 +00:00
add nixpkgs?
This commit is contained in:
parent
e0114a9f15
commit
58ea71f13c
2 changed files with 6 additions and 1 deletions
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
|
@ -22,6 +22,9 @@ jobs:
|
||||||
- name: Install Nix
|
- name: Install Nix
|
||||||
uses: cachix/install-nix-action@v22
|
uses: cachix/install-nix-action@v22
|
||||||
|
|
||||||
|
- name: Setup nixpkgs
|
||||||
|
run: nix-channel --add https://nixos.org/channels/nixpkgs-unstable && nix-channel --update
|
||||||
|
|
||||||
- name: Setup Attic Cache
|
- name: Setup Attic Cache
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
|
@ -29,4 +32,5 @@ jobs:
|
||||||
cache: ${{ secrets.ATTIC_CACHE }}
|
cache: ${{ secrets.ATTIC_CACHE }}
|
||||||
token: ${{ secrets.ATTIC_TOKEN }}
|
token: ${{ secrets.ATTIC_TOKEN }}
|
||||||
|
|
||||||
- run: nix-build test.nix
|
- name: Build
|
||||||
|
run: nix-build test.nix
|
||||||
|
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -5,3 +5,4 @@ node_modules/
|
||||||
# nix
|
# nix
|
||||||
.direnv/
|
.direnv/
|
||||||
.envrc
|
.envrc
|
||||||
|
result*
|
||||||
|
|
Loading…
Reference in a new issue