Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
506 switch to stable rust toolchain channel (#513)
* initial push * fix unused implementor in `reward-distribution`, and add a step in CI to install rust nightly version * * wrap Amount in another trait (in redeem pallet) to be able to mock it * revert runtime-benchmark requirements in mock.rs of all pallets * go to previous day nightly version * set override to false * specific toolchain * fix clippy issues; create a matrix to install rust stable and nightly separately * do not allow parallel * `--lib`, not `--libs` * fix nightly ci * fix nightly ci * convert to lib * fix clippy command and install nightly using `dtolnay` * fix nightly CI * use a newer nightly toolchain and update readme; fix example code; update the cargo lock * fix warnings and use and older toolchain because of `The 'cargo' binary, normally provided by the 'cargo' component, is not applicable to the nightly` * use new version * change all .md to run tests with `+nightly` * applied cargo fmt * specify the nightly version in readmes; and use a variable to assign value of the nightly version in CIs * FIX YAML FILE * revert yaml file * https://github.com/pendulum-chain/spacewalk/actions/runs/8876331480/job/24367603763?pr=513#step:13:15, #513 (comment), #513 (comment), * no need to define the nightly version #513 (review) * revert `testing-utils` of pallet `currency`, and build packages individually, instead of `--all-features` * #513 (comment) * fix https://github.com/pendulum-chain/spacewalk/actions/runs/8922194140/job/24503885678?pr=513#step:11:658 * #513 (comment) * Update .github/workflows/ci-dev.yml Co-authored-by: Marcel Ebert <[email protected]> * https://github.com/pendulum-chain/spacewalk/actions/runs/8922961363/job/24506180390?pr=513#step:11:3011 cargo build is too heavy; opting with check instead * https://github.com/pendulum-chain/spacewalk/actions/runs/8924275855/job/24510269896 * uncomment all lines * had to remove `service` as it requires a companion lib: the `runtime`. also added `set -e` to make sure the script exits upon the first error found * https://github.com/pendulum-chain/spacewalk/actions/runs/8926871185/job/24518930774#step:11:70 * https://github.com/pendulum-chain/spacewalk/actions/runs/8927530752/job/24521111869?pr=513#step:14:20, cleanup the cmd-all command of clippy for `runner` * #513 (review) * fix rewards-distribution test issue add more comments/explanations * #513 (comment) * revise description of `cmd-all` --------- Co-authored-by: Marcel Ebert <[email protected]>
- Loading branch information