Should simply be a question of updating the Circle CI configuration. If so, then consider using a Circle CI matrix. A slightly better option would be to update this to GitHub Actions (and use a matrix).