Skip to content

doc: add license disclaimer #92

doc: add license disclaimer

doc: add license disclaimer #92

Workflow file for this run

name: On Commit action
on:
push:
branches: ["main"]
workflow_dispatch:
jobs:
github_context:
runs-on: ubuntu-latest
steps:
- name: Print Github context
run:
echo '${{toJson(github)}}'
validate_code_compliance:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install requirements
run: |
python3 -m pip install -r ./scripts/ci/requirements.txt
- name: Check formatting
run: |
python3 ./scripts/ci/verify_formatting.py -d -s . -c ./scripts/ci/formatter_cfg.yml
- name: Check license
run: |
python3 ./scripts/ci/verify_license.py -s . -c ./scripts/ci/license.yml
validate_compliance_with_zephyr:
runs-on: ubuntu-latest
container:
image: nordicplayground/nrfconnect-sdk:main
options: --cpus 2
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Run Compliance Tests
run: |
cp -r ../sdk-sidewalk /workdir/sidewalk
cd /workdir/sidewalk
python3 scripts/ci/sid_compliance.py --annotate -m yamllint -m kconfigbasic -m devicetreebindings -m binaryfiles -m imagesize -m nits -m gitlint -m identity -c ${{ github.event.before }}..
build_samples_and_tests:
needs: [validate_code_compliance, validate_compliance_with_zephyr]
uses: ./.github/workflows/common-build.yml