forked from nnstreamer/nnstreamer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add static checkers & verifiers to github-actions. Signed-off-by: MyungJoo Ham <[email protected]>
- Loading branch information
Showing
1 changed file
with
27 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Static checkers and verifiers | ||
|
||
on: | ||
pull_request: | ||
branches: [ main ] | ||
push: | ||
|
||
jobs: | ||
simple_script_checkers: | ||
runs-on: ubuntu-latest | ||
name: Fetching changes | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 5 | ||
- name: Get changed files | ||
id: changed-files | ||
uses: tj-actions/changed-files@v41 | ||
with: | ||
since_last_remote_commit: true | ||
- name: List all files changed | ||
env: | ||
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }} | ||
run: | | ||
for file in "$ALL_CHANGED_FILES"; do | ||
echo "$file was changed" | ||
done |