Description
Describe the problem
I have use this action to do CI check for all examples. However, it gives me errors found in py files. I have tried last week passed action to re-run the error also comes out. I guess it related with some code recent update used by this GitHub actions. I have tried with main and v1.1.0, neither can work. Found the arduino-cli has an update today. Maybe it is the update cause the issue.
https://github.com/ambiot/ambpro2_arduino/actions/runs/9492771613/job/26160846238
File "/home/runner/work/_actions/arduino/compile-sketches/main/compilesketches/compilesketches.py", line 563, in get_platform_installation_path
if installed_platform[self.cli_json_key("core list", "ID")] == platform[self.dependency_name_key]:
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: string indices must be integers, not 'str'
To reproduce
basic/default use of the action
Expected behavior
Can run compilesketches with no process error.
'arduino/compile-sketches' version
main / v1.1.0
Additional context
No response
Issue checklist
- I searched for previous reports in the issue tracker
- I verified the problem still occurs when using the latest version
- My report contains all necessary details