[refactor] #3934: Migrate iroha_smart_contract_derive
, iroha_executor_derive
and iroha_trigger_derive
to syn 2.0
#6380
Workflow file for this run
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: I2::Dev::Static | |
on: | |
pull_request: | |
branches: [iroha2-dev] | |
paths: | |
- '**.rs' | |
- '**.json' | |
- '**.toml' | |
- '.github/workflows/**.yml' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
RUSTUP_TOOLCHAIN: nightly-2023-06-25 | |
jobs: | |
analysis: | |
runs-on: ubuntu-latest | |
container: | |
image: hyperledger/iroha2-ci:nightly-2023-06-25 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: Swatinem/rust-cache@v2 | |
- name: Format | |
run: cargo fmt --all -- --check | |
- name: Lints without features | |
if: always() | |
run: cargo clippy -Zlints --workspace --benches --tests --examples --no-default-features --quiet | |
- name: Lints with all features enabled | |
if: always() | |
run: cargo clippy -Zlints --workspace --benches --tests --examples --all-features --quiet | |
- name: Documentation | |
if: always() | |
run: cargo doc --no-deps --quiet |