Skip to content

Commit

Permalink
Update CI workflow to use Lua version 5.3
Browse files Browse the repository at this point in the history
* **Install Luarocks**: Specify Lua version 5.3
* **Install Stylua**: Specify Lua version 5.3
* **Install Lua-Language-Server**: Specify Lua version 5.3
* Delete `ci.yml` file
  • Loading branch information
jiriks74 committed Oct 24, 2024
1 parent 06132d0 commit 722ae45
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 51 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ jobs:
- name: Install Luarocks
run: |
sudo apt-get update
sudo apt-get install -y luarocks
sudo apt-get install -y luarocks lua5.3
sudo luarocks --lua-version=5.3 install luarocks
- name: Install Stylua
run: |
sudo luarocks install stylua
sudo luarocks --lua-version=5.3 install stylua
- name: Run Stylua
run: |
stylua --config-path .stylua.toml . --exclude lib/cc-tweaked
Expand All @@ -24,10 +25,11 @@ jobs:
- name: Install Luarocks
run: |
sudo apt-get update
sudo apt-get install -y luarocks
sudo apt-get install -y luarocks lua5.3
sudo luarocks --lua-version=5.3 install luarocks
- name: Install Lua-Language-Server
run: |
sudo luarocks install lua-language-server
sudo luarocks --lua-version=5.3 install lua-language-server
- name: Run Lua-Language-Server
continue-on-error: true
run: |
Expand Down
47 changes: 0 additions & 47 deletions ci.yml

This file was deleted.

0 comments on commit 722ae45

Please sign in to comment.