Skip to content

👷 simple_tui: cache boot partition #190

👷 simple_tui: cache boot partition

👷 simple_tui: cache boot partition #190

Workflow file for this run

name: Checks
on:
push:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
- 'LICENSE'
branches:
- master
pull_request:
branches:
- master
concurrency:
group: checks-${{ github.ref }}
cancel-in-progress: true
jobs:
cpp-linter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: install deps
run: |
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install -y libcurl4-openssl-dev
shell: bash
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=Debug
- uses: cpp-linter/[email protected]
id: linter
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
style: file
version: '18'
database: ${{github.workspace}}/build
- name: Fail fast?!
if: steps.linter.outputs.checks-failed > 0
run: |
echo "Some files failed the linting checks!"
# for actual deployment
# run: exit 1
check_clang_format:
name: "Check C++ style"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run clang-format style check for C/C++/Protobuf programs.
uses: jidicula/[email protected]
with:
clang-format-version: '18'
check-path: 'src'
exclude-regex: 'src/subprocess.h'