Skip to content

[update] POC贡献流程 #3043

[update] POC贡献流程

[update] POC贡献流程 #3043

Workflow file for this run

name: Check POC
on: [push, pull_request]
jobs:
check_poc:
runs-on: ubuntu-18.04
steps:
- uses: actions/setup-python@v1
with:
python-version: 3.7
- uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Prepare
run: |
cd $GITHUB_WORKSPACE && \
wget -nv https://github.com/chaitin/xray/releases/download/1.8.2/xray_linux_amd64.zip && \
pip3 install yamllint && \
unzip xray_linux_amd64.zip && \
echo 'update:
check: false' > config.yaml
- name: Check POC
run: |
cd $GITHUB_WORKSPACE && \
./xray_linux_amd64 poclint --script "./pocs/*" --filepath "./pocs/" --rules filename,filepath,yamlschema,yamllint,cellint && \
./xray_linux_amd64 poclint --script "./fingerprints/*" --filepath "./fingerprints/" --rules filename,filepath,yamlschema,yamllint,cellint