add gitea workflows

This commit is contained in:
Cyryl Płotnicki 2023-08-12 15:00:51 +01:00
parent 6a29ea502d
commit 6cef9d9434

View file

@ -0,0 +1,25 @@
name: build and publish
on: push
env:
DEV_SHELL_NAME: CI
jobs:
check_config:
runs-on: flakes-action
steps:
- uses: actions/checkout@v3
name: Checkout
- name: Metadata
run: |
nix flake metadata
- name: Statix
run: |
nix develop -c statix check
- name: Flake check
run: |
nix flake check
build:
runs-on: flakes-action
steps:
- run: |
nix develop -c hugo --gc --minify