nix-config/.gitea/workflows/check-flake.yaml
Zuckerberg bdc0dd5656
Some checks failed
Check Flake / check-flake (push) Failing after 26s
debug
2023-04-23 19:41:29 -06:00

31 lines
793 B
YAML

name: Check Flake
on: [push]
env:
DEBIAN_FRONTEND: noninteractive
jobs:
check-flake:
runs-on: ubuntu-latest
steps:
- name: Install sudo
run: apt-get update && apt-get install sudo
- name: Install Nix
uses: https://github.com/cachix/install-nix-action@v20
- name: Checkout the repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Get ENV var names
run: printenv | cut -d'=' -f1
- name: Check Flake
run: nix flake check --show-trace
- name: wget https://api.github.com/repos/NixOS/nixpkgs/tarball/8dafae7c03d6aa8c2ae0a0612fbcb47e994e3fb8
if: always()
run: wget https://api.github.com/repos/NixOS/nixpkgs/tarball/8dafae7c03d6aa8c2ae0a0612fbcb47e994e3fb8