-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3887a0f
commit c4297f5
Showing
1 changed file
with
18 additions
and
11 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,27 @@ | ||
name: include what you use Github action | ||
|
||
on: [push] | ||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: v2 | ||
- name: Set up environment | ||
env: | ||
ACTIONS_STEP_DEBUG: true | ||
|
||
- name: include what you use | ||
uses: EmilGedda/include-what-you-use-action@v1.0 | ||
with: | ||
compilation-database-path: '.' # Use default value or specify a valid path | ||
output-format: 'iwyu' # Use default value or specify 'clang' or 'iwyu' | ||
no-error: false # Use default value or specify true/false | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: v2 | ||
|
||
- name: include what you use | ||
uses: EmilGedda/include-what-you-use-action@v1.0 | ||
with: | ||
compilation-database-path: '.' # Use default value or specify a valid path | ||
output-format: 'iwyu' # Use default value or specify 'clang' or 'iwyu' | ||
no-error: false # Use default value or specify true/false |