-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: check changed-files in subdirectory
- Loading branch information
1 parent
b259f4b
commit 64d3b6e
Showing
2 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: Changed-files | ||
|
||
on: | ||
push: | ||
branches: | ||
- '**' | ||
|
||
jobs: | ||
changed_files: | ||
runs-on: ubuntu-latest | ||
name: Test changed-files | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Get javascore files that have changed | ||
id: changed-files-javascore | ||
uses: tj-actions/changed-files@v39 | ||
working-directory: contracts/javascore | ||
with: | ||
files_yaml: | | ||
ibc: | ||
- 'ibc/**' | ||
lightclients: | ||
- lightclients/** | ||
xcall-connection: | ||
- xcall-connection/** | ||
- name: Run step if test file(s) change | ||
if: steps.changed-files-javascore.outputs.ibc_any_changed == 'true' | ||
run: | | ||
echo "One or more test file(s) has changed." | ||
echo "List all the files that have changed: ${{ steps.changed-files-javascore.outputs.ibc_all_changed_files }}" | ||
- name: Run step if doc file(s) change | ||
if: steps.changed-files-javascore.outputs.lightclients_any_changed == 'true' | ||
run: | | ||
echo "One or more doc file(s) has changed." | ||
echo "List all the files that have changed: ${{ steps.changed-files-javascore.outputs.lightclients_all_changed_files }}" |
1 change: 1 addition & 0 deletions
1
contracts/javascore/ibc/src/main/java/ibc/ics02/client/IBCClient.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
// Temporary comment | ||
package ibc.ics02.client; | ||
|
||
import ibc.icon.interfaces.ILightClient; | ||
|