mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-11 12:43:28 +00:00
CI: use DetSys Nix Installer action
This commit is contained in:
parent
06e265ad7d
commit
684ba80157
4 changed files with 25 additions and 32 deletions
15
.github/workflows/check-docs.yml
vendored
15
.github/workflows/check-docs.yml
vendored
|
@ -26,13 +26,9 @@ jobs:
|
|||
remove-dotnet: true
|
||||
remove-haskell: true
|
||||
|
||||
- uses: cachix/install-nix-action@v20
|
||||
with:
|
||||
extra_nix_config: |
|
||||
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
||||
auto-optimise-store = true
|
||||
experimental-features = nix-command flakes
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
- name: Install Nix
|
||||
uses: DeterminateSystems/nix-installer-action@main
|
||||
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
name: Checkout
|
||||
|
@ -40,10 +36,7 @@ jobs:
|
|||
- name: Set default git branch (to reduce log spam)
|
||||
run: git config --global init.defaultBranch main
|
||||
|
||||
- name: Validate Flake
|
||||
run: nix flake check
|
||||
|
||||
- name: Build neovim-flake with default settings
|
||||
- name: Build documentation packages
|
||||
run: nix build .#${{ matrix.package }} --print-build-logs
|
||||
|
||||
- name: Upload doc artifacts
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue