Add yamllint CI and codespell CI
This commit is contained in:
23
.github/workflows/codespell.yml
vendored
Normal file
23
.github/workflows/codespell.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
name: Misspelings CI
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
- develop
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
misspell:
|
||||
name: Check misspellings
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Check misspellings
|
||||
uses: codespell-project/actions-codespell@v2
|
||||
with:
|
||||
builtin: clear,rare
|
||||
check_filenames: true
|
||||
path: src, src_bagl, src_common, src_features, src_nbgl, src_plugin_sdk, src_plugins, doc, client
|
||||
7
.github/workflows/lint-workflow.yml
vendored
7
.github/workflows/lint-workflow.yml
vendored
@@ -24,3 +24,10 @@ jobs:
|
||||
source: './'
|
||||
extensions: 'h,c'
|
||||
version: 12
|
||||
|
||||
yamllint:
|
||||
name: Check yaml files
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: yamllint .
|
||||
|
||||
7
.yamllint.yml
Normal file
7
.yamllint.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
extends: default
|
||||
|
||||
rules:
|
||||
document-start: disable
|
||||
line-length: disable
|
||||
truthy: disable
|
||||
Reference in New Issue
Block a user