Skip to content

feat: complete ckb4ibc-test with embedded forcerelay-ckb-sdk #536

feat: complete ckb4ibc-test with embedded forcerelay-ckb-sdk

feat: complete ckb4ibc-test with embedded forcerelay-ckb-sdk #536

name: Guide Template Checker
on:
pull_request:
paths:
- .github/workflows/guide-templates.yaml
- crates/**
- scripts/**
- tools/check-guide/**
push:
branches: master
paths:
- .github/workflows/guide-templates.yaml
- crates/**
- scripts/**
- tools/check-guide/**
# Cancel previous runs of this workflow when a new commit is added to the PR, branch or tag
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
template-checker:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Check templates
run: bash scripts/auto_gen_templates.sh --mode "check"
- uses: actions-rs/cargo@v1
name: Check guide
with:
command: run
args: -p check-guide