SERG-Delft / andy

Andy assesses student's test code. It's used in CSE1110, TU Delft.
MIT License
78 stars 22 forks source link

Reduce code duplication in CI configuration #252

Open martinmladenov opened 1 year ago

martinmladenov commented 1 year ago

Is there a way to reduce code duplication in the workflow configuration file? I see that every task has the steps "Checkout the repository", "Set up JDK 17" and "Cache Maven packages". Is there a way to define them only once in the file and make them apply to all tasks?

Originally posted by @martinmladenov in https://github.com/SERG-Delft/andy/issues/236#issuecomment-1644423325