nix-config/.gitea/workflows/check-flake.yaml
Zuckerberg 3611243a7d
Some checks failed
Check Flake / check-flake (push) Failing after 1m12s
wip
2023-09-30 23:12:41 -06:00

42 lines
1.0 KiB
YAML

name: Check Flake
on: [push]
env:
DEBIAN_FRONTEND: noninteractive
PATH: /run/current-system/sw/bin/:/nix/var/nix/profiles/per-user/gitea-runner/profile/bin
# defaults:
# run:
# shell: nix shell nixpkgs#nodejs-18_x
jobs:
check-flake:
runs-on: ubuntu-latest
steps:
- run: node --version
- name: Install basic dependencies
run: apt-get update && apt-get install -y --no-install-recommends sudo curl ca-certificates xz-utils
- name: Install Nix
uses: https://github.com/cachix/install-nix-action@v20
with:
github_access_token: ${{ secrets.__GITHUB_TOKEN }}
- name: Install dependencies
run: nix profile install nixpkgs#nodejs-18_x
- name: Checkout the repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Get ENV var names
run: printenv | cut -d'=' -f1
- name: List files in the repository
run: |
ls ${{ gitea.workspace }}
- name: Check Flake
run: nix flake check --show-trace