mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 00:31:34 +11:00
Merge pull request #29 from corwinkuiper/rust-toolchain
add rust-toolchain.toml
This commit is contained in:
commit
f8b9d3fecd
9
.github/workflows/rust.yml
vendored
9
.github/workflows/rust.yml
vendored
|
@ -22,13 +22,6 @@ jobs:
|
|||
sudo apt-get install libzip5 ./mGBA-0.9.0-ubuntu64-focal/libmgba.deb -y && \
|
||||
rm -rf mgba.tar.xz mGBA-0.9.0-ubuntu64-focal
|
||||
- uses: actions/checkout@v2
|
||||
- name: Nightly rust with required components
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: nightly-2021-04-20
|
||||
components: clippy, rust-src
|
||||
override: true
|
||||
|
||||
- name: Cache
|
||||
uses: actions/cache@v2.1.1
|
||||
with:
|
||||
|
@ -36,7 +29,7 @@ jobs:
|
|||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
agb/target
|
||||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}-${{ steps.rust_install.outputs.rustc_hash }}
|
||||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||
|
||||
- name: install mgba-test-runner
|
||||
run: cargo install --path mgba-test-runner
|
||||
|
|
3
agb/rust-toolchain.toml
Normal file
3
agb/rust-toolchain.toml
Normal file
|
@ -0,0 +1,3 @@
|
|||
[toolchain]
|
||||
channel = "nightly"
|
||||
components = ["rust-src", "clippy"]
|
Loading…
Reference in a new issue