git.delta.rocks / unique-network / refs/commits / b8cfc48b8ec6

difftreelog

source

.github/workflows/codestyle.yml1017 Bsourcehistory
1name: Code style23on:4  pull_request:5    branches:6      - develop7    types:8      - opened9      - edited1011jobs:12  rustfmt:13    runs-on: self-hosted-ci1415    steps:16      - uses: actions/checkout@v117      - name: Install latest nightly18        uses: actions-rs/toolchain@v119        with:20            toolchain: nightly21            default: true22            target: wasm32-unknown-unknown23            components: rustfmt, clippy24      - name: Run cargo fmt25        run: cargo fmt -- --check2627  clippy:28    if: ${{ false }}29    runs-on: self-hosted-ci3031    steps:32      - uses: actions/checkout@v133      - name: Install substrate dependencies34        run: sudo apt-get install libssl-dev pkg-config libclang-dev clang35      - name: Install latest nightly36        uses: actions-rs/toolchain@v137        with:38            toolchain: nightly39            default: true40            target: wasm32-unknown-unknown41            components: rustfmt, clippy42      - name: Run cargo check43        run: cargo clippy -- -Dwarnings