nixos/.gitea/workflows/flake.yaml
Renovate Bot 9247ae5d91
All checks were successful
flake / flake (push) Successful in 2m33s
chore(deps): update cachix/install-nix-action action to v27
2024-05-16 23:01:13 +00:00

27 lines
601 B
YAML

name: flake
on:
push:
branches:
- '**'
tags-ignore:
- '**'
jobs:
flake:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- name: Prepare for Nix installation
run: |
apt-get update
apt-get install -y sudo
- uses: cachix/install-nix-action@ba0dd844c9180cbf77aa72a116d6fbc515d0e87b # v27
- name: lint
run: |
nix fmt
git diff --exit-code
- name: flake check
run: nix flake check --all-systems
timeout-minutes: 10