mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-08-05 17:05:57 +08:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.0 to 7.0.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](1af3b93b68...9c091bb21b)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: 7.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
# SPDX-FileCopyrightText: Copyright (C) swift Project Community / Contributors
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
name: Checks
|
|
|
|
on:
|
|
workflow_call:
|
|
|
|
jobs:
|
|
checks:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Install gitlint
|
|
run: pip install gitlint==0.19.1
|
|
|
|
- name: Run gitlint
|
|
run: gitlint --commits d789f61044e63e1a00d8e9f1d4d49c8d9ffc42a9..HEAD
|
|
|
|
- name: Install REUSE
|
|
run: pip install reuse==4.0.3
|
|
|
|
- name: Run REUSE lint
|
|
run: reuse lint
|
|
|
|
- name: Run clang-format
|
|
run: scripts/run_clang_format.py
|
|
- uses: swift-project/setup-cpp@df5d21a5dd12577254a9748fddf23e075a4a7ddc
|
|
- name: Run cppcheck
|
|
run: |
|
|
sudo apt-get -y install cppcheck
|
|
cppcheck --template=gcc --inline-suppr --std=c++17 \
|
|
--enable=style,unusedFunction \
|
|
-i src/plugins/weatherdata/gfs/g2clib \
|
|
-DCPPCHECK --force \
|
|
--suppressions-list=cppcheck.supp \
|
|
--library=qt.cfg --library=posix.cfg .
|