fix: add checks to ensure requested chart name and version consistant… #942
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: Rust | |
on: | |
push: | |
branches: ["main"] | |
pull_request: {} | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- uses: Swatinem/rust-cache@v2 | |
- name: Fmt Check | |
run: cargo fmt -- --check | |
- name: Clippy | |
run: cargo clippy --no-deps -- -Dwarnings | |
- name: Compile | |
run: cargo build | |
- name: Test | |
run: cargo test |