summaryrefslogtreecommitdiff
path: root/.github/workflows/linux.yml
diff options
context:
space:
mode:
authorxieyonn <qxieyongp@163.com>2025-09-21 15:50:06 +0800
committerJunegunn Choi <junegunn.c@gmail.com>2025-09-24 22:41:54 +0900
commitde0df2422ac26edcd083d801e93635deb0786589 (patch)
tree76e4fbe88acaaa2057cfdf60339bafbfb8532e15 /.github/workflows/linux.yml
parent148b0a94cdb88bc6e0ff36af1ab2b7bccd24e555 (diff)
downloadfzf-de0df2422ac26edcd083d801e93635deb0786589.tar.gz
feat: add make fmt for *.sh *.bash
1. add .editorconfig file, add rules for .sh .bash files. 2. add make fmt target, use: - gofmt *.go. - shfmt *.sh *.bash, shell/completion.bash, shell/key-bindings.bash need a left indent due to an outermost if block. 3. add shfmt check for bash scripts in make lint target. 4. install shfmt in actions.
Diffstat (limited to '.github/workflows/linux.yml')
-rw-r--r--.github/workflows/linux.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
index 2c5ee36d..454f56e9 100644
--- a/.github/workflows/linux.yml
+++ b/.github/workflows/linux.yml
@@ -33,7 +33,7 @@ jobs:
ruby-version: 3.4.1
- name: Install packages
- run: sudo apt-get install --yes zsh fish tmux
+ run: sudo apt-get install --yes zsh fish tmux shfmt
- name: Install Ruby gems
run: bundle install