Modify the GitHub workflows to incorporate matrix functionality, enabling the execution of build and test processes for each package individually.