Skip to content

Commit

Permalink
Update include-what-you-use.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SankarshanMishra authored Apr 1, 2024
1 parent 3887a0f commit c4297f5
Showing 1 changed file with 18 additions and 11 deletions.
29 changes: 18 additions & 11 deletions .github/workflows/include-what-you-use.yml
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

0 comments on commit c4297f5

Please sign in to comment.