HDF5 interface and support for stochastic reading #319
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
name: Linting | |
on: | |
push: | |
branches: [ development ] | |
pull_request: | |
branches: [development] | |
jobs: | |
linting: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
# Check code meets Google C++ style guide https://google.github.io/styleguide/cppguide.html | |
- name: Run linting | |
uses: DoozyX/[email protected] | |
with: | |
source: '.' | |
extensions: 'h,cc' | |
clangFormatVersion: 16 | |
inplace: True | |
- name: Report results | |
run: | | |
git diff --exit-code || (echo '## NOTE: your code is not linted properly - please commit the suggested changes'; false) | |