1
0
Fork 0
mirror of https://github.com/Mic92/sops-nix.git synced 2024-12-14 11:57:52 +00:00
This commit is contained in:
Jörg Thalheim 2020-07-12 17:33:08 +01:00
parent 81f9f69b84
commit 5ee7f3d73e
No known key found for this signature in database
GPG key ID: 003F2096411B5F92
2 changed files with 29 additions and 1 deletions

28
.github/workflows/test.yml vendored Normal file
View file

@ -0,0 +1,28 @@
name: "Test"
on:
pull_request:
push:
schedule:
- cron: '51 2 * * *'
jobs:
tests:
strategy:
matrix:
nixPath:
- nixpkgs=channel:nixos-20.03
- nixpkgs=channel:nixpkgs-unstable
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v10
with:
nix_path: "${{ matrix.nixPath }}"
- name: Setup cachix
uses: cachix/cachix-action@v6
with:
name: mic92
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
- name: Show nixpkgs version
run: nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version'
- name: Build nix packages
run: nix run nixpkgs.nix-build-uncached -c nix-build-uncached default.nix

View file

@ -1,4 +1,4 @@
{ buildGoModule, path, pkgs, vendorSha256 }:
{ stdenv, buildGoModule, path, pkgs, vendorSha256 }:
buildGoModule {
pname = "sops-install-secrets";
version = "0.0.1";