Fix renaming logic, split extensions for nicer rename #48
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check | |
on: | |
push: | |
branches: | |
- main | |
- workflow_check | |
pull_request: | |
branches: | |
- main | |
jobs: | |
check: | |
name: Check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install toolchain | |
run: rustup show | |
shell: bash | |
- name: Run cargo check | |
run: cargo check --all --all-targets | |
shell: bash | |
- name: Run cargo fmt | |
run: cargo fmt --all -- --check | |
shell: bash | |
- name: Run cargo test | |
run: cargo test --all --all-targets --no-fail-fast | |
shell: bash | |
- name: Run cargo clippy | |
run: cargo clippy -- -Dwarnings | |
shell: bash |