Update the version of `verify-changed-file` action in the CI.
@@ -40,6 +40,9 @@ jobs:
uses: actions/checkout@v3
with:
submodules: recursive
+ - name: add the GITHUB_WORKSPACE into git config
+ run: |
+ git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Running linux test script
id: linux-build-and-test
run: |
@@ -48,7 +51,7 @@ jobs:
run: cd /work/veracruz
- name: Check modification to Cargo.lock
id: verify-changed-files
- uses: ShaleXIONG/verify-changed-files@main
+ uses: tj-actions/verify-changed-files@v13
with:
files: |
**/Cargo.lock
@@ -72,13 +75,16 @@ jobs:
uses: actions/checkout@v3
with:
submodules: recursive
+ - name: add the GITHUB_WORKSPACE into git config
+ run: |
+ git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Running Nitro test script
id: nitro-build
run: |
make -C /work/veracruz/workspaces nitro
- name: Check modification to Cargo.lock
id: verify-changed-files
- uses: ShaleXIONG/verify-changed-files@main
+ uses: tj-actions/verify-changed-files@v13
with:
files: |
**/Cargo.lock
@@ -102,19 +108,22 @@ jobs:
uses: actions/checkout@v3
with:
submodules: recursive
+ - name: add the GITHUB_WORKSPACE into git config
+ run: |
+ git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Running IceCap test script
id: icecap-build
run: |
VERACRUZ_TEST_TIMEOUT=2400 make -C /work/veracruz/workspaces icecap-tests PROFILE=release
- name: Check modification to Cargo.lock
id: verify-changed-files
- uses: ShaleXIONG/verify-changed-files@main
+ uses: tj-actions/verify-changed-files@v13
with:
files: |
**/Cargo.lock
- name: Run step only when any of the above files change.
- id: check-diff
if: steps.verify-changed-files.outputs.files_changed == 'true'
+ id: check-diff
run: |
echo "cargo-lock=\"Detect 'Cargo.lock' changes in ${{ github.job }} CI/CD task: ${{ steps.verify-changed-files.outputs.changed_files }}\"" >> $GITHUB_OUTPUT
@@ -133,6 +142,9 @@ jobs:
uses: actions/checkout@v3
with:
submodules: recursive
+ - name: add the GITHUB_WORKSPACE into git config
+ run: |
+ git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Running CLI_QUICKSTART.markdown
id: quickstart-test
run: |
@@ -153,7 +165,7 @@ jobs:
bash -euxo pipefail README.md.sh
- name: Check modification to Cargo.lock
id: verify-changed-files
- uses: ShaleXIONG/verify-changed-files@main
+ uses: tj-actions/verify-changed-files@v13
with:
files: |
**/Cargo.lock
