Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit decb7c0

Browse files
committedApr 14, 2024
Test
1 parent 051305b commit decb7c0

File tree

1 file changed

+18
-15
lines changed

1 file changed

+18
-15
lines changed
 

‎.github/workflows/pre-commit.yml

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -53,34 +53,35 @@ jobs:
5353
echo "source .github/scripts/install-arduino-core-esp32.sh" >> ~/install.sh
5454
bash ~/install.sh
5555
56-
- name: Wait on other jobs to finish
57-
uses: lucasssvaz/wait-on-workflow@v1
58-
id: wait-on-jobs
59-
continue-on-error: true
60-
with:
61-
workflow: push.yml
62-
max-wait: 5
63-
interval: 30
64-
timeout: 120
65-
sha: ${{ github.event.pull_request.head.sha || github.sha }}
56+
# - name: Wait on other jobs to finish
57+
# uses: lucasssvaz/wait-on-workflow@v1
58+
# id: wait-on-jobs
59+
# continue-on-error: true
60+
# with:
61+
# workflow: push.yml
62+
# max-wait: 5
63+
# interval: 30
64+
# timeout: 120
65+
# sha: ${{ github.event.pull_request.head.sha || github.sha }}
6666

6767
- name: Download compilation artifacts
6868
uses: actions/download-artifact@v4
69-
if: ${{ steps.wait-on-jobs.outputs.run-id != '' }}
69+
# if: ${{ steps.wait-on-jobs.outputs.run-id != '' }}
7070
with:
7171
pattern: build-job-*
7272
merge-multiple: true
7373
path: ~/.arduino/tests/
74-
run-id: ${{ steps.wait-on-jobs.outputs.run-id }}
74+
# run-id: ${{ steps.wait-on-jobs.outputs.run-id }}
75+
run-id: 8674717774
7576
github-token: ${{ secrets.GITHUB_TOKEN }}
7677

7778
- name: Merge compile commands
78-
if: ${{ steps.wait-on-jobs.outputs.run-id != '' }}
79+
# if: ${{ steps.wait-on-jobs.outputs.run-id != '' }}
7980
run: |
8081
find ~/.arduino/tests/ -iname "compile_commands.json" | xargs jq -s 'map(.[])' > ~/compile_commands.json
8182
8283
- name: Upload compile commands
83-
if: ${{ steps.wait-on-jobs.outputs.run-id != '' }}
84+
# if: ${{ steps.wait-on-jobs.outputs.run-id != '' }}
8485
uses: actions/upload-artifact@v4
8586
with:
8687
name: compile_commands
@@ -92,7 +93,9 @@ jobs:
9293

9394
- name: Run oclint
9495
continue-on-error: true
95-
run: oclint-json-compilation-database -p ~/compile_commands.json oclint_args ${{ steps.changed-files.outputs.all_changed_files }}
96+
run: |
97+
ls -la ~/
98+
oclint-json-compilation-database -p ~/ oclint_args ${{ steps.changed-files.outputs.all_changed_files }}
9699
97100
- name: Run pre-commit hooks in changed files
98101
run: pre-commit run --color=always --show-diff-on-failure --files ${{ steps.changed-files.outputs.all_changed_files }}

0 commit comments

Comments
 (0)
Please sign in to comment.