diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 40747b5..5d538ea 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -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 diff --git a/.github/workflows/rust_format.yml b/.github/workflows/rust_format.yml index 7e23fbb..50debec 100644 --- a/.github/workflows/rust_format.yml +++ b/.github/workflows/rust_format.yml @@ -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