reduce build-matrix scope