🛠️ fix: fix luajit installation step
This commit is contained in:
parent
9fdb1a3407
commit
7ebd0cd780
2 changed files with 8 additions and 6 deletions
7
.github/workflows/rust.yml
vendored
7
.github/workflows/rust.yml
vendored
|
@ -21,9 +21,10 @@ jobs:
|
|||
- stable
|
||||
|
||||
steps:
|
||||
- uses: leafo/gh-actions-lua@v10
|
||||
with:
|
||||
luaVersion: 'luajit'
|
||||
- name: Install LuaJIT and Lua
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y --no-install-recommends liblua5.4-dev liblua5.3-dev liblua5.2-dev liblua5.1-0-dev libluajit-5.1-dev
|
||||
- uses: actions/checkout@v3
|
||||
- run: rustup toolchain install stable --profile minimal
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
|
|
7
.github/workflows/rust_format.yml
vendored
7
.github/workflows/rust_format.yml
vendored
|
@ -13,9 +13,10 @@ jobs:
|
|||
name: Rust project
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: leafo/gh-actions-lua@v10
|
||||
with:
|
||||
luaVersion: 'luajit'
|
||||
- name: Install LuaJIT and Lua
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y --no-install-recommends liblua5.4-dev liblua5.3-dev liblua5.2-dev liblua5.1-0-dev libluajit-5.1-dev
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install minimal stable with clippy and rustfmt
|
||||
uses: actions-rs/toolchain@v1
|
||||
|
|
Loading…
Add table
Reference in a new issue