Add check code format to CI #156
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: Rust | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Format check | |
run: cd tests && make check-code-format | |
- name: Install tools | |
run: cd tests && make install-all | |
- name: Build contract | |
run: make all-via-docker | |
- name: Run all testcases | |
run: cd tests && make all | |
- name: Run ckb-auth-cli tests | |
run: cd tools/ckb-auth-cli && cargo test | |