Skip to content

Commit

Permalink
ci: move away from the unsupported rust actions
Browse files Browse the repository at this point in the history
  • Loading branch information
AdeAttwood committed Dec 19, 2023
1 parent 2429fe7 commit 3fb3976
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,13 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Run cargo format
uses: actions-rs/cargo@v1
- name: Set up rust
uses: dtolnay/rust-toolchain@stable
with:
command: fmt
args: --all -- --check
components: rustfmt

- name: Lint
run: cargo fmt --check

test:
name: Build and test
Expand All @@ -55,10 +57,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Install rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Set up rust
uses: dtolnay/rust-toolchain@stable

- name: Install dependencies
run: sudo apt update && sudo apt install -y luajit build-essential
Expand Down

0 comments on commit 3fb3976

Please sign in to comment.