Updated script-languages #1841
Workflow file for this run
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: Check if .current_submodules is up to date | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
pull_request: | |
jobs: | |
check_current_gitmodules: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Init submodules | |
run: git submodule update --init --recursive | |
- name: Run update_current_submodules_file.sh | |
run: bash githooks/update_current_submodules_file.sh | |
- name: Show changes on working copy | |
run: git status --porcelain=v1 -uno | |
- name: Show diff on working copy | |
run: git diff --cached; git diff --cached --summary; | |
- name: Show gitsubmodules status | |
run: git submodule status | |
- name: Check if .current_submodules file is changed | |
run: | | |
[ -z "$(git status --porcelain=v1 -uno 2>/dev/null)" ] |