dotfiles/.gitea/workflows/build.yaml

22 lines
450 B
YAML
Raw Normal View History

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:
runs-on: flakes-action
2023-06-03 10:48:41 +01:00
steps:
2023-06-27 07:23:21 +01:00
- uses: actions/checkout@v3
name: Checkout
2024-04-27 10:24:13 +01:00
- uses: https://github.com/DeterminateSystems/magic-nix-cache-action@main
- name: Metadata
2023-06-27 07:23:21 +01:00
run: |
nix flake metadata
- name: Statix
run: |
nix develop -c statix check
- name: Flake check
run: |
2024-04-27 10:24:13 +01:00
nix flake check