Skip to content

Commit

Permalink
actions: add static checks
Browse files Browse the repository at this point in the history
Add static checkers & verifiers to github-actions.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
  • Loading branch information
myungjoo committed Jan 12, 2024
1 parent fc072e2 commit a443c50
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/static.check.yml
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@41
with:
since_last_remote_commit: true
- name: List all files changed
env:
ALL_CHANGED_FILES: ${{ stepd.changed-files.outputs.all_changed_files }}
run: |
for file in "$ALL_CHANGED_FILES"; do
echo "$file was changed"
done

0 comments on commit a443c50

Please sign in to comment.