nix-config/.gitea/workflows/check-flake.yaml
Zuckerberg 908b9c7b29
Some checks are pending
Check Flake / check-flake (push) Has started running
try nix container
2023-04-23 19:52:23 -06:00

32 lines
888 B
YAML

name: Check Flake
on: [push]
env:
DEBIAN_FRONTEND: noninteractive
jobs:
check-flake:
runs-on: ubuntu-latest
container: nixos/nix: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: env -u GITHUB_TOKEN -u GITHUB_ENV -u GITHUB_SERVER_URL 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