Upgrade ckb
dependencies to v0.114.0
, bump ckb-cli
to 1.7.0
#424
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 workflow | |
on: | |
pull_request: | |
types: [ opened, synchronize, reopened ] | |
push: | |
branches: | |
- "develop" | |
- "master" | |
- "pkg/*" | |
env: | |
CARGO_TERM_COLOR: always | |
RUST_BACKTRACE: full | |
jobs: | |
unit-test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ ubuntu-latest, macos-11, windows-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
- if: matrix.os == 'windows-latest' | |
name: Windows Dependencies | |
shell: pwsh | |
run: | | |
iex "& {$(irm get.scoop.sh)} -RunAsAdmin" | |
scoop install mingw git | |
- name: UnitTest | |
shell: pwsh | |
run: | | |
make test | |
git diff | |
integration-test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-11] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Integration_Test | |
run: make integration | |
linters: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-11] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Linters | |
run: | | |
cargo fmt --version || rustup component add rustfmt | |
cargo clippy --version || rustup component add clippy | |
make fmt | |
make clippy | |
git diff --exit-code Cargo.lock | |
security-audit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Security Audit & Licenses | |
run: | | |
rustup toolchain install stable --profile minimal | |
cargo deny --version || cargo install cargo-deny --locked | |
make security-audit | |
make check-crates | |
make check-licenses | |
ci-success: | |
name: ci | |
needs: | |
- unit-test | |
- integration-test | |
- linters | |
- security-audit | |
runs-on: ubuntu-latest | |
steps: | |
- name: CI succeeded | |
run: exit 0 |