actions: add static checks #1
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
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 |