1
0
Fork 0
mirror of https://github.com/Mic92/sops-nix.git synced 2025-03-13 20:29:17 +00:00

Merge pull request #140 from Mic92/dependabot/github_actions/cachix/install-nix-action-15

Bump cachix/install-nix-action from 14 to 15
This commit is contained in:
Jörg Thalheim 2021-11-16 08:13:44 +00:00 committed by GitHub
commit 3c53d012ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 32 deletions

View file

@ -1,30 +0,0 @@
name: "Flake test"
on:
pull_request:
schedule:
- cron: '51 2 * * *'
jobs:
tests:
strategy:
matrix:
os: [ ubuntu-latest, macos-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
with:
# Nix Flakes doesn't work on shallow clones
fetch-depth: 0
- uses: cachix/install-nix-action@v14
with:
extra_nix_config: |
experimental-features = nix-command flakes
system-features = nixos-test benchmark big-parallel kvm
- name: Setup cachix
uses: cachix/cachix-action@v10
with:
name: mic92
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
- name: List flake structure
run: nix flake show
- name: Run flake check (flake)
run: nix flake check -L

View file

@ -14,10 +14,9 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v14
- uses: cachix/install-nix-action@v15
with:
nix_path: "${{ matrix.nixPath }}"
extra_nix_config: "system-features = nixos-test benchmark big-parallel kvm"
- name: Setup cachix
uses: cachix/cachix-action@v10
with:
@ -29,6 +28,11 @@ jobs:
- name: Run lint
run: nix-build --no-out-link default.nix -A lint
if: matrix.os == 'ubuntu-latest'
- name: List flake structure
run: nix flake show
- name: Run flake check (flake)
run: nix flake check -L
# this should be the same as `nix flake check`
- name: Build nix packages
run: nix-build --no-out-link release.nix
- name: Run unit tests