ci: move away from the unsupported rust actions
This commit is contained in:
parent
2429fe725c
commit
342fb8f301
1 changed files with 8 additions and 8 deletions
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
|
|
@ -42,11 +42,13 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Run cargo format
|
- name: Set up rust
|
||||||
uses: actions-rs/cargo@v1
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
command: fmt
|
components: rustfmt
|
||||||
args: --all -- --check
|
|
||||||
|
- name: Lint
|
||||||
|
run: cargo fmt --check
|
||||||
|
|
||||||
test:
|
test:
|
||||||
name: Build and test
|
name: Build and test
|
||||||
|
|
@ -55,10 +57,8 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install rust toolchain
|
- name: Set up rust
|
||||||
uses: actions-rs/toolchain@v1
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
|
||||||
toolchain: stable
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: sudo apt update && sudo apt install -y luajit build-essential
|
run: sudo apt update && sudo apt install -y luajit build-essential
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue