Files
nix-config/.github/workflows/cachix.yml
Dave Gallant 395181a070 Add gofumpt
2021-12-19 00:31:14 -05:00

26 lines
525 B
YAML

name: "Build and push to cachix"
on:
push:
branches:
- main
paths-ignore:
- '**/*.md'
- '*.md'
- 'LICENSE'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v15
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v10
with:
name: davegallant
authToken: '${{ secrets.CACHIX_API_KEY }}'
- run: nix-build | cachix push davegallant