neon_arch commited on
Commit
6f369b8
โ€ข
1 Parent(s): 7a8bf02

๐Ÿ› ๏ธ fix: add luajit installation step

Browse files
.github/workflows/rust.yml CHANGED
@@ -4,10 +4,10 @@ name: Rust
4
  on:
5
  push:
6
  branches:
7
- - "**"
8
  pull_request:
9
  branches:
10
- - "rolling"
11
 
12
  env:
13
  CARGO_TERM_COLOR: always
@@ -21,23 +21,26 @@ jobs:
21
  - stable
22
 
23
  steps:
24
- - uses: actions/checkout@v3
25
- - run: rustup toolchain install stable --profile minimal
26
- - uses: Swatinem/rust-cache@v2
27
- with:
28
- prefix-key: ""
29
- shared-key: ""
30
- key: ""
31
- env-vars: ""
32
- workspaces: ""
33
- cache-directories: ""
34
- cache-targets: ""
35
- cache-on-failure: ""
36
- cache-all-crates: ""
37
- save-if: ""
38
- - uses: actions/checkout@v3
39
- - run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
40
- - name: Build
41
- run: cargo build --verbose
42
- - name: Run tests
43
- run: cargo test --verbose
 
 
 
 
4
  on:
5
  push:
6
  branches:
7
+ - '**'
8
  pull_request:
9
  branches:
10
+ - 'rolling'
11
 
12
  env:
13
  CARGO_TERM_COLOR: always
 
21
  - stable
22
 
23
  steps:
24
+ - uses: leafo/gh-actions-lua@v10
25
+ with:
26
+ luaVersion: 'luajit'
27
+ - uses: actions/checkout@v3
28
+ - run: rustup toolchain install stable --profile minimal
29
+ - uses: Swatinem/rust-cache@v2
30
+ with:
31
+ prefix-key: ''
32
+ shared-key: ''
33
+ key: ''
34
+ env-vars: ''
35
+ workspaces: ''
36
+ cache-directories: ''
37
+ cache-targets: ''
38
+ cache-on-failure: ''
39
+ cache-all-crates: ''
40
+ save-if: ''
41
+ - uses: actions/checkout@v3
42
+ - run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
43
+ - name: Build
44
+ run: cargo build --verbose
45
+ - name: Run tests
46
+ run: cargo test --verbose
.github/workflows/rust_format.yml CHANGED
@@ -13,6 +13,9 @@ jobs:
13
  name: Rust project
14
  runs-on: ubuntu-latest
15
  steps:
 
 
 
16
  - uses: actions/checkout@v2
17
  - name: Install minimal stable with clippy and rustfmt
18
  uses: actions-rs/toolchain@v1
 
13
  name: Rust project
14
  runs-on: ubuntu-latest
15
  steps:
16
+ - uses: leafo/gh-actions-lua@v10
17
+ with:
18
+ luaVersion: 'luajit'
19
  - uses: actions/checkout@v2
20
  - name: Install minimal stable with clippy and rustfmt
21
  uses: actions-rs/toolchain@v1