Nix CI #176
1 changed files with 6 additions and 0 deletions
|
@ -5,12 +5,18 @@ on: [push]
|
|||
jobs:
|
||||
lint:
|
||||
runs-on: docker
|
||||
env:
|
||||
GITHUB_TOKEN:
|
||||
container:
|
||||
image: ghcr.io/catthehacker/ubuntu:js-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: https://github.com/cachix/install-nix-action@v20
|
||||
env:
|
||||
GITHUB_TOKEN:
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
- name: Run `nix flake check`
|
||||
env:
|
||||
GITHUB_TOKEN:
|
||||
run: nix run '.#' -- -V
|
||||
|
|
Loading…
Reference in a new issue