Skip to content

checkout action should be v3 #70

checkout action should be v3

checkout action should be v3 #70

Workflow file for this run

name: Check format
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
compiler: [gcc]
steps:
- uses: actions/checkout@v3
- name: dependencies
run: sudo apt install libeigen3-dev clang-format
- name: cmake
run: cmake -B builddir
- name: Format
run: cmake --build builddir --target format && git diff --exit-code