mirror of
https://github.com/cachix/install-nix-action.git
synced 2025-06-08 09:54:28 +00:00
refactor: Format files using Prettier
Actual command: `nix-shell --packages nodePackages.prettier --pure --run 'prettier --write .'`.
This commit is contained in:
parent
ba01fffc51
commit
3d81dbf023
4 changed files with 95 additions and 97 deletions
13
README.md
13
README.md
|
@ -51,12 +51,12 @@ jobs:
|
|||
tests:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: cachix/install-nix-action@v27
|
||||
with:
|
||||
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- run: nix build
|
||||
- run: nix flake check
|
||||
- uses: actions/checkout@v4
|
||||
- uses: cachix/install-nix-action@v27
|
||||
with:
|
||||
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- run: nix build
|
||||
- run: nix flake check
|
||||
```
|
||||
|
||||
To install Nix from any commit, go to [the corresponding installer_test action](https://github.com/NixOS/nix/runs/2219534360) and click on "Run cachix/install-nix-action@XX" step and expand the first line.
|
||||
|
@ -75,7 +75,6 @@ To install Nix from any commit, go to [the corresponding installer_test action](
|
|||
|
||||
- `enable_kvm`: whether to enable KVM for hardware-accelerated virtualization on Linux. Enabled by default if available.
|
||||
|
||||
|
||||
## Differences from the default Nix installer
|
||||
|
||||
Some settings have been optimised for use in CI environments:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue