crystal-ameba / github-action

A GitHub Action that lints Crystal code with Ameba
MIT License
29 stars 6 forks source link

Still slow because it compiles ameba #18

Open ysbaddaden opened 1 year ago

ysbaddaden commented 1 year ago

Not as bad as #16 but it still takes over 2 minutes to compile the binary, repeated on each and every action :disappointed: while running Ameba itself will run in 1 second.

Capture d’écran de 2023-08-18 13-09-52@2x

Couldn't the action download a precompiled binary? It could be attached to the releases for example. The action would then only take a few seconds to run.

veelenga commented 1 year ago

Yeah, I think we can try the approach with pre-compiled binary.