mirror of
https://github.com/pezkuwichain/pezkuwi-runtime-templates.git
synced 2026-04-22 02:07:55 +00:00
Toml-sort (#69)
* run toml sort and add script for it * add ci * try patch * try fix * add file permissions * check if installation state persists or starts from scratch every time * Revert "check if installation state persists or starts from scratch every time" This reverts commit 45e7aae8d2f18cbe1a78482d234b98fcfbe8b6ae. * Apply suggestions from code review * clean * fix * try revert * fix
This commit is contained in:
@@ -57,6 +57,15 @@ jobs:
|
||||
- name: install rust toolchain
|
||||
uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||
|
||||
- name: Install toml-sort
|
||||
run: cargo install --git https://github.com/4meta5/toml_sort
|
||||
- name: Add file permissions for toml-sort
|
||||
run: chmod +x ./scripts/toml-sort.sh
|
||||
- name: Add file permissions for check-toml-sorted
|
||||
run: chmod +x ./scripts/check-toml-sorted.sh
|
||||
- name: Check Cargo.toml files are formatted using toml_sort
|
||||
run: ./scripts/check-toml-sorted.sh
|
||||
|
||||
- name: Check format
|
||||
run: cargo fmt --all -- --check
|
||||
|
||||
|
||||
Reference in New Issue
Block a user