Update actions/checkout and actions/upload-artifact to main branch for compatibility with node.js v16.