Frodo45127 / rpfm

Rusted PackFile Manager (RPFM) is a... reimplementation in Rust and Qt5 of PackFile Manager (PFM), one of the best modding tools for Total War Games.
MIT License
368 stars 58 forks source link

Update test.yml #183

Closed im-mortal closed 3 years ago

im-mortal commented 3 years ago

This fixes The package requires the Cargo feature called "edition2021", but that feature is not stabilized in this version of Cargo (1.55.0 (32da73ab1 2021-08-23)). error that occurs during Linux debug build workflows for rpfm_lib and rpfm_cli: https://github.com/im-mortal/rpfm/runs/3992112291?check_suite_focus=true

Also kinda sorta ensures future updates to Rust toolchain will be available to the workflow immediately.

Additionally, the updated workflow leverages GitHub Cache action, which drastically reduces build times for subsequent builds. Compare: run #1 (4m 25s) vs run #2 (1m 13s).

Frodo45127 commented 3 years ago

Looks good, and if it makes test faster, awesome. Thanks for the contribution!