b12f
f5185e5c15
Some checks reported warnings
Flake checks / Check (pull_request) Has been cancelled
Co-authored-by: @teutat3s <teutates@mailbox.org>
23 lines
697 B
YAML
23 lines
697 B
YAML
name: Flake checks
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
Check:
|
|
runs-on: nix-flakes
|
|
steps:
|
|
- name: Get Node.js dependency
|
|
run: |
|
|
nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs
|
|
nix-channel --update
|
|
nix-env -iA nixpkgs.nodejs_20
|
|
- name: Check out repository code
|
|
uses: https://code.forgejo.org/actions/checkout@v4
|
|
- name: Prepare cachix
|
|
uses: https://github.com/cachix/cachix-action@v12
|
|
with:
|
|
name: pub-solar
|
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
|
- name: Run flake checks
|
|
run: |
|
|
nix --print-build-logs --verbose --accept-flake-config flake check
|