ci: add shell: /bin/sh to avoid node dependency
This commit is contained in:
parent
6c762c436a
commit
436c150419
2 changed files with 6 additions and 0 deletions
3
.github/workflows/luacheck.yaml
vendored
3
.github/workflows/luacheck.yaml
vendored
|
|
@ -16,5 +16,8 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: apk add --no-cache lua5.1 luarocks5.1 git
|
||||
shell: /bin/sh
|
||||
- run: luarocks-5.1 install luacheck
|
||||
shell: /bin/sh
|
||||
- run: luacheck .
|
||||
shell: /bin/sh
|
||||
|
|
|
|||
3
.github/workflows/stylua.yaml
vendored
3
.github/workflows/stylua.yaml
vendored
|
|
@ -16,8 +16,11 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: apk add --no-cache curl unzip git
|
||||
shell: /bin/sh
|
||||
- run: |
|
||||
curl -L -o stylua.zip "https://github.com/JohnnyMorganz/StyLua/releases/latest/download/stylua-linux.zip"
|
||||
unzip stylua.zip
|
||||
chmod +x stylua
|
||||
shell: /bin/sh
|
||||
- run: ./stylua --check .
|
||||
shell: /bin/sh
|
||||
|
|
|
|||
Loading…
Reference in a new issue