Fix clippy for latest stable toolchain #26
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: ci-contracts-schema | |
on: | |
push: | |
paths: | |
- 'contracts/**' | |
- 'common/**' | |
pull_request: | |
paths: | |
- 'contracts/**' | |
- 'common/**' | |
jobs: | |
check-schema: | |
name: Generate and check schema | |
runs-on: custom-runner-linux | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v2 | |
- name: Install Rust toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- name: Generate the schema | |
run: make contract-schema | |
- name: Check for diff | |
run: git diff --exit-code -- contracts/*/schema |