docs(README.md): fix small formatting issues #18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Run nix flake check | |
on: | |
pull_request_target: | |
types: [labeled] | |
push: | |
branches: [main] | |
jobs: | |
flake_check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011 # v23 | |
with: | |
extra_nix_config: | | |
accept-flake-config = true | |
experimental-features = nix-command flakes | |
github_access_token: ${{ secrets.GITHUB_TOKEN }} | |
nix_path: nixpkgs=channel:nixos-unstable | |
- name: Supply dummy buildtime.json to let nix flake check pass | |
run: sed -i 's&../secrets/secrets.json&../../assets/dummy.json&g' ./nixos/modules/garuda-lib.nix | |
- name: Run nix flake check | |
run: nix flake check |