Updating deprecated GitHub actions (#1629) * Updating deprecated GitHub actions * code review: use commit hash for actions