mirror of
https://github.com/Sokomine/cottages.git
synced 2025-04-19 10:40:20 +02:00
install stylua for pre-commit check
This commit is contained in:
parent
116ea12a79
commit
b58368ea6a
10
.github/workflows/pre-commit.yml
vendored
10
.github/workflows/pre-commit.yml
vendored
@ -12,11 +12,17 @@ jobs:
|
||||
- name: install luarocks
|
||||
run: sudo apt-get install -y luarocks
|
||||
|
||||
- name: add luacheck path
|
||||
run: echo "$HOME/.luarocks/bin" >> $GITHUB_PATH
|
||||
|
||||
- name: luacheck install
|
||||
run: luarocks install --local luacheck
|
||||
|
||||
- name: add luacheck path
|
||||
run: echo "$HOME/.luarocks/bin" >> $GITHUB_PATH
|
||||
- name: install cargo
|
||||
run: sudo apt-get install -y cargo
|
||||
|
||||
- name: install stylua
|
||||
run: cargo install stylua
|
||||
|
||||
- name: Install pre-commit
|
||||
run: pip3 install pre-commit
|
||||
|
Loading…
x
Reference in New Issue
Block a user