refactor: Format files using Prettier

Actual command: `nix-shell --packages nodePackages.prettier --pure --run
'prettier --write .'`.
This commit is contained in:
Victor Engmark 2023-03-10 08:30:04 +13:00 committed by Victor Engmark
parent 4136c9e180
commit 13cf340620
No known key found for this signature in database
4 changed files with 100 additions and 102 deletions

View file

@ -1,11 +1,10 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: daily
time: '00:00'
time: "00:00"
timezone: UTC
open-pull-requests-limit: 10
commit-message:

View file

@ -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:

View file

@ -1,26 +1,26 @@
name: 'Install Nix'
description: 'Installs Nix on GitHub Actions for the supported platforms: Linux and macOS.'
author: 'Domen Kožar'
name: "Install Nix"
description: "Installs Nix on GitHub Actions for the supported platforms: Linux and macOS."
author: "Domen Kožar"
inputs:
extra_nix_config:
description: 'Gets appended to `/etc/nix/nix.conf` if passed.'
description: "Gets appended to `/etc/nix/nix.conf` if passed."
github_access_token:
description: 'Configure nix to pull from github using the given github token.'
description: "Configure nix to pull from github using the given github token."
install_url:
description: 'Installation URL that will contain a script to install Nix.'
description: "Installation URL that will contain a script to install Nix."
install_options:
description: 'Additional installer flags passed to the installer script.'
description: "Additional installer flags passed to the installer script."
nix_path:
description: 'Set NIX_PATH environment variable.'
description: "Set NIX_PATH environment variable."
enable_kvm:
description: 'Enable KVM for hardware-accelerated virtualization on Linux, if available.'
description: "Enable KVM for hardware-accelerated virtualization on Linux, if available."
required: false
default: true
branding:
color: 'blue'
icon: 'sun'
color: "blue"
icon: "sun"
runs:
using: 'composite'
using: "composite"
steps:
- run: ${GITHUB_ACTION_PATH}/install-nix.sh
shell: bash