Skip to content

Demote the message to info and add some information to the README #151

Demote the message to info and add some information to the README

Demote the message to info and add some information to the README #151

Workflow file for this run

# Name of the workflow
name: Clang-Format
# Controls when the action will run. Triggers the workflow on push
# except for the main and stable branches
on:
push:
branches-ignore: [ main, stable ]
# Defines the main job where we checkout our code, run clang-format
# and commit changes
jobs:
clang-format:
runs-on: ubuntu-latest
steps:
# Checks-out our repository under $GITHUB_WORKSPACE, so our job can access it
- uses: actions/checkout@v2
# Applies clang-format to all C/C++ files w/ the specified style
- name: Apply clang-format
id: formatting
uses: HSF/clang-format-action@v0.4
with:
style: 'Google'
# Gets and prints the output message
- name: Get the output message
run: echo "${{ steps.formatting.outputs.message }}"