ci: Rename lint-check action to lint-clang

This commit is contained in:
Nick Bolton 2025-08-06 20:42:06 +01:00
parent 82ba5a4b97
commit fff25b4144
2 changed files with 9 additions and 9 deletions

View file

@ -1,5 +1,5 @@
name: "Lint Check" name: "Lint Clang"
description: "Checks for lint errors and posts a helpful comment" description: "Checks for Clang lint errors and posts a helpful comment"
runs: runs:
using: "composite" using: "composite"

View file

@ -34,7 +34,7 @@ jobs:
# Always run this job, even if not on PR, since other jobs need it. # Always run this job, even if not on PR, since other jobs need it.
pr-comment-flags: pr-comment-flags:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: lint-check needs: lint-clang
outputs: outputs:
no-sonar: ${{ steps.check.outputs.no-sonar }} no-sonar: ${{ steps.check.outputs.no-sonar }}
@ -92,7 +92,7 @@ jobs:
- name: REUSE Compliance Check - name: REUSE Compliance Check
uses: fsfe/reuse-action@v5 uses: fsfe/reuse-action@v5
lint-check: lint-clang:
needs: [reuse-lint] needs: [reuse-lint]
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 5 timeout-minutes: 5
@ -102,10 +102,10 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Lint Checker - name: Lint Checker
uses: ./.github/actions/lint-check uses: ./.github/actions/lint-clang
analyse-valgrind: analyse-valgrind:
needs: lint-check needs: lint-clang
if: ${{ github.event_name == 'pull_request' }} if: ${{ github.event_name == 'pull_request' }}
uses: ./.github/workflows/valgrind-analysis.yml uses: ./.github/workflows/valgrind-analysis.yml
@ -117,7 +117,7 @@ jobs:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
main-build: main-build:
needs: lint-check needs: lint-clang
name: ${{ matrix.target.name }} name: ${{ matrix.target.name }}
runs-on: ${{ matrix.target.runs-on }} runs-on: ${{ matrix.target.runs-on }}
container: ${{ matrix.target.container }} container: ${{ matrix.target.container }}
@ -318,7 +318,7 @@ jobs:
# Technically, "unix" is a misnomer, but we use it here to mean "Unix-like BSD-derived". # Technically, "unix" is a misnomer, but we use it here to mean "Unix-like BSD-derived".
unix: unix:
needs: lint-check needs: lint-clang
name: unix-${{ matrix.distro.name }} name: unix-${{ matrix.distro.name }}
runs-on: ${{ vars.CI_UNIX_RUNNER || 'ubuntu-24.04' }} runs-on: ${{ vars.CI_UNIX_RUNNER || 'ubuntu-24.04' }}
timeout-minutes: 20 timeout-minutes: 20
@ -350,7 +350,7 @@ jobs:
export QT_QPA_PLATFORM=offscreen export QT_QPA_PLATFORM=offscreen
./build/bin/unittests || true ./build/bin/unittests || true
flatpak: flatpak:
needs: lint-check needs: lint-clang
name: flatpak-${{matrix.flatpak.arch}} name: flatpak-${{matrix.flatpak.arch}}
runs-on: ${{matrix.flatpak.runs-on}} runs-on: ${{matrix.flatpak.runs-on}}
timeout-minutes: 60 timeout-minutes: 60