Skip to content

Commit a2fa21d

Browse files
committed
gha: add lint
Signed-off-by: Robin Jarry <[email protected]>
1 parent 6dbef5f commit a2fa21d

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

.github/workflows/ci.yml

-1
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,4 @@ jobs:
2121
numactl-devel \
2222
python3-pyelftools
2323
- run: make
24-
- run: make lint
2524
- run: make coverage

.github/workflows/lint.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# SPDX-License-Identifier: BSD-3-Clause
2+
# Copyright (c) 2024 Robin Jarry
3+
---
4+
name: Lint
5+
6+
on: [pull_request]
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
container: fedora:latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- run: |
15+
dnf install -y \
16+
make gcc ninja-build meson clang-tools-extra git
17+
- run: make lint

0 commit comments

Comments
 (0)