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 <[email protected]>
  • Loading branch information
myungjoo committed Jan 12, 2024
1 parent fc072e2 commit aa12e68
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/static.check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Static checkers and verifiers

on:
pull_requests:
branches: [ main ]

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
since_last_remote_commit: true
- anme: 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 aa12e68

Please sign in to comment.