29 lines
No EOL
713 B
YAML
29 lines
No EOL
713 B
YAML
name: use nix
|
|
|
|
on: push
|
|
env:
|
|
DEV_SHELL_NAME: CI
|
|
jobs:
|
|
build:
|
|
runs-on: node-latest
|
|
steps:
|
|
- name: Hello
|
|
run: |
|
|
echo "Hello and welcome"
|
|
- name: Install dependencies
|
|
run: |
|
|
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install linux \
|
|
--extra-conf "sandbox = false" \
|
|
--init none \
|
|
--no-confirm
|
|
- 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 |