add assert! helper, prevent vouching for users on list. #1061
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: cleanliness | |
on: | |
push: | |
tags: | |
- "[0-9]+.[0-9]+.[0-9]+" | |
- "[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+" | |
branches: ["*"] | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
branches: | |
- "release**" | |
- "main**" | |
env: | |
DIEM_FORGE_NODE_BIN_PATH: ${{github.workspace}}/diem-node | |
LIBRA_CI: 1 | |
MODE_0L: "TESTNET" | |
jobs: | |
clippy: | |
runs-on: debian-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: setup env | |
uses: ./.github/actions/build_env | |
- uses: Swatinem/[email protected] | |
with: | |
shared-key: "libra-framework" | |
cache-all-crates: true | |
- name: format | |
uses: actions-rs/cargo@v1 | |
with: | |
command: fmt | |
args: --all -- --check | |
- name: clippy | |
uses: actions-rs/cargo@v1 | |
with: | |
command: clippy | |
args: --workspace --tests -- -D warnings |