Skip to content

Auto build and create bumpup pr (#9) #1

Auto build and create bumpup pr (#9)

Auto build and create bumpup pr (#9) #1

Workflow file for this run

name: lint
on:
push:
branches:
- main
pull_request:
jobs:
clippy-and-fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: ./.github/actions/cache
- run: rustup component add rustfmt
- name: fmt
run: |
cargo fmt --all -- --check
- name: clippy
# Check by `clippy` even if the previous step fails
if: success() || failure()
run: |
# `finschia-std` is excluded because of https://github.com/Finschia/finschia-wasm/issues/39
cargo clippy --workspace --exclude finschia-std --all-targets --all-features -- -D warnings