XION Believathon Template #58
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
permissions: | |
contents: read | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
name: check | |
jobs: | |
clippy: | |
runs-on: ubuntu-latest | |
name: stable / clippy | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Install stable | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
components: clippy | |
- name: install cargo-generate | |
run: cargo install cargo-generate --locked | |
- name: cargo clippy | |
run: | | |
CARGO_GENERATE_TEST_CMD="cargo clippy --all-features -- -D warnings" \ | |
cargo generate -d include_app=true -d include_adapter=true -d include_standalone=true -d app_name=my_app -d adapter_name=my_adapter -d standalone_name=my_standalone -d with_ibc=true --test |