diff options
author | Silvan Mosberger <silvan.mosberger@tweag.io> | 2024-06-26 01:37:20 +0200 |
---|---|---|
committer | Silvan Mosberger <silvan.mosberger@tweag.io> | 2024-06-26 16:16:51 +0200 |
commit | d0bebb7d6b86a705f943dc926527400d7ebc144b (patch) | |
tree | 150186d32a8ec20d602be62cd05b9356a137051b /.github | |
parent | 53b517c6851ef52a86e44ea16220d93f88bf9849 (diff) |
workflows/check-nix-format: strip newline from file listings
Otherwise it prints the command to run with an empty entry: nixfmt '<stuff>' '' Thanks to https://yaml-multiline.info/ for the great help with this
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/check-nix-format.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/check-nix-format.yml b/.github/workflows/check-nix-format.yml index 5352b6fa53f95..5459240766a1a 100644 --- a/.github/workflows/check-nix-format.yml +++ b/.github/workflows/check-nix-format.yml @@ -40,14 +40,14 @@ jobs: NIX_FMT_PATHS_BSD: pkgs/os-specific/bsd NIX_FMT_PATHS_MPVSCRIPTS: pkgs/applications/video/mpv/scripts # Format paths related to the Nixpkgs CUDA ecosystem. - NIX_FMT_PATHS_CUDA: | + NIX_FMT_PATHS_CUDA: |- pkgs/development/cuda-modules pkgs/test/cuda pkgs/top-level/cuda-packages.nix - NIX_FMT_PATHS_MAINTAINERS: | + NIX_FMT_PATHS_MAINTAINERS: |- maintainers/maintainer-list.nix maintainers/team-list.nix - NIX_FMT_PATHS_K3S: | + NIX_FMT_PATHS_K3S: |- nixos/modules/services/cluster/k3s nixos/tests/k3s pkgs/applications/networking/cluster/k3s |