nixos/.gitea/workflows/check.yml

20 lines
547 B
YAML
Raw Normal View History

2024-05-24 16:55:50 +02:00
name: check
on:
push:
branches: [ main ]
jobs:
2024-05-24 17:08:01 +02:00
check:
2024-05-24 16:55:50 +02:00
runs-on: ubuntu-latest
2024-05-24 17:13:13 +02:00
shell: bash
2024-05-24 16:55:50 +02:00
steps:
2024-05-24 17:13:13 +02:00
- name: Install sudo package
2024-05-24 21:24:52 +02:00
run: apt update && apt install sudo jq -y
2024-05-24 16:59:50 +02:00
- uses: https://github.com/actions/checkout@v4
2024-05-24 17:02:08 +02:00
- uses: https://github.com/cachix/install-nix-action@v27
- name: Show flake info
run: nix flake metadata && nix flake show
# Re-enable when https://github.com/NixOS/nix/issues/8621 is resolved
# - name: Check flake configuration
# run: nix flake check