Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmo314 committed Jan 18, 2021
1 parent eae9838 commit ea2274d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

runs clang-format on the diff of the most recent commit

Fixed version of purduesigbots/clang-format-action

# usage

```yml
Expand Down Expand Up @@ -47,4 +49,3 @@ there are already a couple versions of this action floating around ([cvra/clang-
- or have some sketchy docker files
so for maximum ease of use we are providing a more robust action here
16 changes: 8 additions & 8 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: 'clang-format action'
description: 'run clang-format on your code'
author: 'purduesigbots'
name: "git-clang-format action"
description: "run clang-format on your code"
author: "kevmo314"
branding:
icon: align-center
color: yellow
inputs:
inputs:
style:
description: 'style passed to clang-format. reads .clang-format file in the repo by default. see clang-format docs for more.'
default: 'file'
description: "style passed to clang-format. reads .clang-format file in the repo by default. see clang-format docs for more."
default: "file"
runs:
using: 'docker'
image: 'Dockerfile'
using: "docker"
image: "Dockerfile"
args:
- ${{ inputs.style }}

0 comments on commit ea2274d

Please sign in to comment.