Replace deadline_timer with system_timer #61
Workflow file for this run
This file contains hidden or 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
| # wg-tcp-tunnel - code-scanning.yaml | |
| # SPDX-FileCopyrightText: 2023-2025 Arkadiusz Bokowy and contributors | |
| # SPDX-License-Identifier: MIT | |
| name: Code Scanning | |
| on: | |
| push: | |
| pull_request: | |
| branches: [ master ] | |
| env: | |
| CMAKE_EXPORT_COMPILE_COMMANDS: ON | |
| MAKEFLAGS: -j8 | |
| permissions: | |
| actions: read | |
| contents: read | |
| security-events: write | |
| jobs: | |
| cmake-lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Run CMake Linter | |
| uses: puneetmatharu/cmake-format-lint-action@main | |
| with: | |
| args: --check | |
| code-ql: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Install Dependencies | |
| run: > | |
| sudo apt install -y | |
| libboost-dev | |
| libboost-log-dev | |
| libboost-program-options-dev | |
| - uses: actions/checkout@v6 | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@v4 | |
| with: | |
| languages: cpp | |
| queries: security-and-quality | |
| - name: Configure Project | |
| run: > | |
| cmake -S ${{ github.workspace }} | |
| -DENABLE_NGROK=ON | |
| -DENABLE_SYSTEMD=ON | |
| -DENABLE_WEBSOCKET=ON | |
| - name: Build Project | |
| run: cmake --build . | |
| - name: Perform CodeQL Analysis | |
| uses: github/codeql-action/analyze@v4 | |
| cpp-linter: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Install Dependencies (Ubuntu) | |
| run: > | |
| sudo apt install --no-install-recommends --yes | |
| libboost-dev | |
| libboost-log-dev | |
| libboost-program-options-dev | |
| libssl-dev | |
| - uses: actions/checkout@v6 | |
| - name: Configure Project | |
| run: > | |
| cmake -S ${{ github.workspace }} | |
| -DENABLE_NGROK=ON | |
| -DENABLE_SYSTEMD=ON | |
| -DENABLE_WEBSOCKET=ON | |
| - name: Run C++ Linter (clang-format & clang-tidy) | |
| uses: cpp-linter/cpp-linter-action@v2 | |
| id: cpp-linter | |
| with: | |
| style: file | |
| # FIXME: Linter always reports checks-failed... need to investigate | |
| # - if: steps.cpp-linter.outputs.checks-failed > 0 | |
| # run: exit 1 | |
| markdown-lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Run Markdown Linter | |
| uses: nosborn/github-action-markdown-cli@v3 | |
| with: | |
| files: ${{ github.workspace }} | |
| reuse: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: REUSE Compliance Check | |
| uses: fsfe/reuse-action@v6 |