2023-06-03 10:48:41 +01:00
|
|
|
name: use nix
|
|
|
|
|
|
|
|
on: push
|
|
|
|
env:
|
|
|
|
DEV_SHELL_NAME: CI
|
2023-06-02 12:22:44 +01:00
|
|
|
jobs:
|
2023-06-03 10:48:41 +01:00
|
|
|
build:
|
2023-07-23 10:06:40 +01:00
|
|
|
runs-on: linux_amd64
|
2023-06-03 10:48:41 +01:00
|
|
|
steps:
|
2023-07-23 08:17:19 +01:00
|
|
|
- name: Hello
|
|
|
|
run: |
|
|
|
|
echo "Hello and welcome"
|
2023-07-23 10:17:15 +01:00
|
|
|
- name: Install Nix
|
|
|
|
uses: https://github.com/DeterminateSystems/nix-installer-action@v4
|
2023-06-27 07:23:21 +01:00
|
|
|
- uses: actions/checkout@v3
|
2023-07-01 10:06:31 +01:00
|
|
|
name: Checkout
|
|
|
|
- name: Metadata
|
2023-06-27 07:23:21 +01:00
|
|
|
run: |
|
2023-06-03 10:48:41 +01:00
|
|
|
nix flake metadata
|
2023-07-01 10:06:31 +01:00
|
|
|
- name: Statix
|
|
|
|
run: |
|
2023-06-27 07:23:21 +01:00
|
|
|
nix --no-sandbox develop -c statix check
|
2023-07-01 10:06:31 +01:00
|
|
|
- name: Flake check
|
|
|
|
run: |
|
|
|
|
nix flake check
|