[cli] Add Task Scheduling Command and Refactor Wallet Context API #5626
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 Licenses | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
check-licenses: | |
name: Check-Licenses | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Run SPDX-License-Identifier checks | |
run: | | |
find . -type f \( -name '*.rs' -o -name '*.sh' \) -exec sh -c ' | |
for FILE do | |
if ! grep -q "SPDX-License-Identifier: Apache-2.0" "$FILE"; then | |
echo "ERROR: SPDX-License-Identifier is not Apache-2.0 in $FILE" | |
exit 1 | |
fi | |
done' sh {} + |