25 lines
No EOL
554 B
YAML
25 lines
No EOL
554 B
YAML
name: use nix
|
|
|
|
on: push
|
|
env:
|
|
DEV_SHELL_NAME: CI
|
|
jobs:
|
|
build:
|
|
runs-on: linux_amd64
|
|
steps:
|
|
- name: Hello
|
|
run: |
|
|
echo "Hello and welcome"
|
|
- name: Install Nix
|
|
uses: https://github.com/DeterminateSystems/nix-installer-action@main
|
|
- uses: actions/checkout@v3
|
|
name: Checkout
|
|
- name: Metadata
|
|
run: |
|
|
nix flake metadata
|
|
- name: Statix
|
|
run: |
|
|
nix --no-sandbox develop -c statix check
|
|
- name: Flake check
|
|
run: |
|
|
nix flake check |