blob: e6546c3be224e8ef64dfa61859e2672094eec215 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
name: OE Lint
on:
pull_request:
branches:
- master
merge_group:
push:
branches:
- master
workflow_dispatch:
concurrency:
group: ${{ github.repository }}-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
oelint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: pip
cache-dependency-path: contrib/oelint/requirements.txt
- run: pip install -r contrib/oelint/requirements.txt
- run: >-
./contrib/oelint/run-oelint.sh
--mode all
--quiet
--relpaths
--hide info
--suppress oelint.vars.homepageping
--output /dev/stdout
--messageformat '::{severity} file={path},line={line},title={id}::{msg} ({wikiurl})'
|