ci: use stylua 0.18.2
This commit is contained in:
parent
ac2928cca8
commit
650aa1916f
2 changed files with 4 additions and 2 deletions
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
|
|
@ -34,7 +34,7 @@ jobs:
|
||||||
uses: JohnnyMorganz/stylua-action@v3
|
uses: JohnnyMorganz/stylua-action@v3
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
version: v0.15.2
|
version: v0.18.2
|
||||||
args: --check lua tests
|
args: --check lua tests
|
||||||
|
|
||||||
typecheck:
|
typecheck:
|
||||||
|
|
|
||||||
|
|
@ -303,7 +303,9 @@ function SSHConnection:_consume()
|
||||||
-- HACK: Sleep briefly to help reduce stderr/stdout interleaving.
|
-- HACK: Sleep briefly to help reduce stderr/stdout interleaving.
|
||||||
-- I want to find a way to flush the stderr before the echo DONE, but haven't yet.
|
-- I want to find a way to flush the stderr before the echo DONE, but haven't yet.
|
||||||
-- This was causing issues when ls directory that doesn't exist (b/c ls prints error)
|
-- This was causing issues when ls directory that doesn't exist (b/c ls prints error)
|
||||||
'echo "===BEGIN==="; ' .. cmd.cmd .. '; CODE=$?; sleep .01; echo "===DONE($CODE)==="\r'
|
'echo "===BEGIN==="; '
|
||||||
|
.. cmd.cmd
|
||||||
|
.. '; CODE=$?; sleep .01; echo "===DONE($CODE)==="\r'
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue