Skip to content

Add Runge-Kutta numerical integration algorithm #10

Add Runge-Kutta numerical integration algorithm

Add Runge-Kutta numerical integration algorithm #10

Workflow file for this run

name: "Check code formatting"
permissions:
contents: read
on: pull_request
jobs:
clang-format:
runs-on: ubuntu-latest
steps:
- name: Fetch source
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v39
with:
files: |
**.h **.c **.cpp
separator: ","
skip_initial_fetch: true
- name: Install clang-format
uses: aminya/setup-cpp@v1
with:
clangformat: true
- name: Test
env:
CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: |
clang-format --dry-run --style=file --Werror --verbose $CHANGED_FILES