@@ -53,34 +53,35 @@ jobs:
53
53
echo "source .github/scripts/install-arduino-core-esp32.sh" >> ~/install.sh
54
54
bash ~/install.sh
55
55
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 }}
66
66
67
67
- name : Download compilation artifacts
68
68
uses : actions/download-artifact@v4
69
- if : ${{ steps.wait-on-jobs.outputs.run-id != '' }}
69
+ # if: ${{ steps.wait-on-jobs.outputs.run-id != '' }}
70
70
with :
71
71
pattern : build-job-*
72
72
merge-multiple : true
73
73
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
75
76
github-token : ${{ secrets.GITHUB_TOKEN }}
76
77
77
78
- name : Merge compile commands
78
- if : ${{ steps.wait-on-jobs.outputs.run-id != '' }}
79
+ # if: ${{ steps.wait-on-jobs.outputs.run-id != '' }}
79
80
run : |
80
81
find ~/.arduino/tests/ -iname "compile_commands.json" | xargs jq -s 'map(.[])' > ~/compile_commands.json
81
82
82
83
- name : Upload compile commands
83
- if : ${{ steps.wait-on-jobs.outputs.run-id != '' }}
84
+ # if: ${{ steps.wait-on-jobs.outputs.run-id != '' }}
84
85
uses : actions/upload-artifact@v4
85
86
with :
86
87
name : compile_commands
92
93
93
94
- name : Run oclint
94
95
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 }}
96
99
97
100
- name : Run pre-commit hooks in changed files
98
101
run : pre-commit run --color=always --show-diff-on-failure --files ${{ steps.changed-files.outputs.all_changed_files }}
0 commit comments