Handle static CURL #19
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (C) 2005 - 2023 Settlers Freaks <sf-team at siedler25.org> | |
# | |
# SPDX-License-Identifier: GPL-2.0-or-later | |
name: Static analysis | |
on: | |
push: | |
pull_request: | |
concurrency: | |
group: ${{format('staticAna-{0}:{1}', github.repository, github.ref)}} | |
cancel-in-progress: true | |
jobs: | |
FormattingAndLicensing: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Formatting | |
uses: DoozyX/[email protected] | |
with: | |
source: src | |
clangFormatVersion: 10 | |
- name: Check licensing | |
run: | |
pip install --user reuse | |
reuse lint |