This fixes the CI warnings by updating some the actions and replacing the action-rs actions due to them all being abandoned.
I used the dtolnay/rust-toolchain for installing rust since that seems to be the most popular option that was recommended in the action-rs repos.
For the normal cargo commands it doesnt seem like there is any alternative but luckily this isnt doing much so there was no need for a replacement for that so this is just calling cargo directly.
I also updated the on conditions so it will run the build and test on all branches and PR except for .gitignore/readme changes so its possible to easily debug if a commit is broken without submitting a PR to main.
This fixes the CI warnings by updating some the actions and replacing the action-rs actions due to them all being abandoned.
I used the dtolnay/rust-toolchain for installing rust since that seems to be the most popular option that was recommended in the action-rs repos.
For the normal cargo commands it doesnt seem like there is any alternative but luckily this isnt doing much so there was no need for a replacement for that so this is just calling cargo directly.
I also updated the on conditions so it will run the build and test on all branches and PR except for .gitignore/readme changes so its possible to easily debug if a commit is broken without submitting a PR to main.