From 499c404f1e75e436cd1387279fa08dc7f1ffde6d Mon Sep 17 00:00:00 2001 From: Chris Sidebottom Date: Thu, 9 Feb 2023 10:09:56 +0000 Subject: [PATCH] Add linting workflow to GitHub Actions Currently this just checks for correct Copyright and License headers but in future we can expand to check other things. --- .github/workflows/lint.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/lint.yaml diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml new file mode 100644 index 000000000..f773143b7 --- /dev/null +++ b/.github/workflows/lint.yaml @@ -0,0 +1,14 @@ +# SPDX-FileCopyrightText: Copyright 2023 Arm Limited and/or its affiliates +# SPDX-License-Identifier: BSD-3-Clause + +name: Linting Checks + +on: [push, pull_request] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: REUSE Compliance Check + uses: fsfe/reuse-action@v1