Skip to content

fix(wezterm): set default program #19

fix(wezterm): set default program

fix(wezterm): set default program #19

Workflow file for this run

---
name: nix
on:
push:
branches:
- main
pull_request:
jobs:
check:
runs-on: ubuntu-latest
name: nix flake check
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v9
- name: Running `nix flake check` on flakes
run: |
files=$(find . -name '*flake.nix')
IFS=$'\n'; for file in $files; do
flake_dir=$(dirname "$file")
echo "Running nix flake check on $file"
nix flake check "$flake_dir"
done
formatting:
runs-on: ubuntu-latest
name: alejandra
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v9
- name: installing alejandra
# We're reusing the version from the neovim configuration so that we get expect
# exactly the same style locally and in the CI.
run: nix profile install ./flakes/nvim/#alejandra
- name: running alejandra on nix scripts
run: |
files=$(find . -name '*.nix')
IFS=$'\n'; for file in $files; do
echo "Running alejandra on $file"
alejandra --check "$file"
done