chore: Add .editorconfig, shfmt, shellcheck and subshell dir changes (#1649)

This commit is contained in:
Mathias Fredriksson
2022-05-27 20:15:19 +03:00
committed by GitHub
parent 1a70298b5c
commit 608eb322a8
11 changed files with 191 additions and 103 deletions
+17 -1
View File
@@ -44,6 +44,17 @@ jobs:
with:
version: v1.46.0
style-lint-shellcheck:
name: style/lint/shellcheck
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@1.1.0
with:
ignore: node_modules
style-lint-typescript:
name: "style/lint/typescript"
timeout-minutes: 5
@@ -133,7 +144,12 @@ jobs:
- name: Install node_modules
run: ./scripts/yarn_install.sh
- run: "make --output-sync -j -B fmt"
- name: Install shfmt
run: go install mvdan.cc/sh/v3/cmd/shfmt@v3.5.0
- run: |
export PATH=${PATH}:$(go env GOPATH)/bin
make --output-sync -j -B fmt
test-go:
name: "test/go"