refactor vector util functions #140
Workflow file for this run
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: 🔍 Check Formatting | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
inputs: | |
debug: | |
type: boolean | |
description: Enable Debugging | |
jobs: | |
check-coding-style: | |
runs-on: ubuntu-latest | |
container: ghcr.io/viennatools/vienna-builder:vtk-python | |
steps: | |
- name: 📥 Checkout | |
uses: actions/checkout@v4 | |
with: | |
set-safe-directory: true | |
- name: 📋 Install additional dependencies | |
if: ${{ github.event.inputs.debug == 'true' }} | |
run: apk add tmate | |
- name: 🐛 Debug Issues | |
if: ${{ github.event.inputs.debug == 'true' }} | |
uses: mxschmitt/action-tmate@v3 | |
with: | |
install-dependencies: false | |
limit-access-to-actor: true | |
- name: 🔍 Check Format | |
run: | | |
git config --global --add safe.directory $(pwd) # "set-safe-directory" seems bugged in actions/checkout@v4 | |
cmake -B build | |
cmake --build build --target format-check |