Skip to content

Commit

Permalink
gha: add lint
Browse files Browse the repository at this point in the history
Signed-off-by: Robin Jarry <rjarry@redhat.com>
  • Loading branch information
rjarry committed Mar 20, 2024
1 parent 6dbef5f commit 95bc375
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,4 @@ jobs:
numactl-devel \
python3-pyelftools
- run: make
- run: make lint
- run: make coverage
18 changes: 18 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright (c) 2024 Robin Jarry
---
name: Lint

on: [pull_request]

jobs:
build:
runs-on: ubuntu-latest
container: fedora:latest
steps:
- uses: actions/checkout@v4
- run: |
dnf install -y \
make gcc ninja-build meson clang-tools-extra git
- run: git log --oneline -20 --decorate
- run: make lint

0 comments on commit 95bc375

Please sign in to comment.